Zim

Merge lp:~bkidwell/zim/fix-html-backlinks into lp:~jaap.karssenberg/zim/pyzim

Proposed by Brendan Kidwell
Status: Merged
Merged at revision: 676
Proposed branch: lp:~bkidwell/zim/fix-html-backlinks
Merge into: lp:~jaap.karssenberg/zim/pyzim
Diff against target: 12 lines (+1/-1)
1 file modified
data/templates/html/Default_with_index.html (+1/-1)
To merge this branch: bzr merge lp:~bkidwell/zim/fix-html-backlinks
Reviewer Review Type Date Requested Status
Jaap Karssenberg Approve
Review via email: mp+199586@code.launchpad.net

Description of the change

Fix lp:1262402 by making the Backlinks list in Default_with_index template like Default template.

To post a comment you must log in.
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Merged in pyzim-refactor

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/templates/html/Default_with_index.html'
--- data/templates/html/Default_with_index.html 2012-12-10 22:26:43 +0000
+++ data/templates/html/Default_with_index.html 2013-12-18 22:53:34 +0000
@@ -59,7 +59,7 @@
59 [% IF page.has_backlinks -%]59 [% IF page.has_backlinks -%]
60 <b>Backlinks:</b>60 <b>Backlinks:</b>
61 [%- FOREACH link = page.backlinks -%]61 [%- FOREACH link = page.backlinks -%]
62 <a href='[% url(link) %]'>[% link.name %]</a></li>62 <a href='[% url(link) %]'>[% link.name %]</a>
63 [%- END -%]63 [%- END -%]
64 [%- ELSE -%]64 [%- ELSE -%]
65 <i>No backlinks to this page.</i>65 <i>No backlinks to this page.</i>