Don't use book absolute ids for nav
This commit is contained in:
parent
2fd7792f34
commit
1dffe425e0
10 changed files with 45 additions and 16 deletions
|
@ -3,13 +3,13 @@
|
|||
|
||||
<div class="tabs secondary">
|
||||
<div class="tab active" data-id="tab-review-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
||||
<a href="{{ book.absolute_id }}/review" onclick="tabChange(event)">Review</a>
|
||||
<a href="/book/{{ book.id }}/review" onclick="tabChange(event)">Review</a>
|
||||
</div>
|
||||
<div class="tab" data-id="tab-comment-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
||||
<a href="{{ book.absolute_id }}/comment" onclick="tabChange(event)">Comment</a>
|
||||
<a href="/book/{{ book.id }}/comment" onclick="tabChange(event)">Comment</a>
|
||||
</div>
|
||||
<div class="tab" data-id="tab-quotation-{{ book.id }}" data-category="tab-option-{{ book.id }}">
|
||||
<a href="{{ book.absolute_id }}/quotation" onclick="tabChange(event)">Quote</a>
|
||||
<a href="/book/{{ book.id }}/quotation" onclick="tabChange(event)">Quote</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue