diff static/tpl/read-page.html @ 110:827e236aa7c6

Various front-end fixes: - Handle absolute URLs correctly. - Show the state warning only after the page has rendered.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 14 Nov 2013 15:21:48 -0800
parents 58a1a7baca25
children 74eb145eb839
line wrap: on
line diff
--- a/static/tpl/read-page.html	Tue Nov 12 13:54:29 2013 -0800
+++ b/static/tpl/read-page.html	Thu Nov 14 15:21:48 2013 -0800
@@ -6,7 +6,7 @@
         <small>Redirected from <a href="/#/read/{{redirected_from}}?no_redirect">{{redirected_from}}</a></small>
         {{/if}}
         {{#if meta.redirect}}
-        <small>Redirects to <a href="/#/read/{{meta.redirect}}">{{meta.redirect}}</a></small>
+        <small>Redirects to <a href="/#/read/{{redirects_to}}">{{redirects_to}}</a></small>
         {{/if}}
     </header>
     {{/ifnot}}