added tests for the comicbook model

fixed bug related to last page link
This commit is contained in:
ajurna committed 2015-06-25 12:36:55 +01:00
1 parent 7f234ce27c
commit 64a590f9ee
10 files changed
+236 -19

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@
<button type="button" data-toggle="dropdown" class="btn btn-default dropdown-toggle ">{{ orig_file_name }}<span class="caret"></span></button>
<ul class="dropdown-menu" id="dropdown-list">
{% for file in book.pages %}
<li><a href="/comic/read/{{ nav.cur_path }}/{{ file.index }}/">{{ file.name }}</a></li>
<li><a href="/comic/read/{{ nav.cur_path }}/{{ file.index }}/">{{ file.page_file_name }}</a></li>
{% endfor %}
</ul>
</div>