Force unicode string behavior for left/right arrow thingies

...hopefully this fixes an error we're suddenly seeing on a staging server?
This commit is contained in:
Lance Edgar 2019-05-08 13:21:43 -05:00
parent fadf540422
commit 070d4fc43e

View file

@ -176,14 +176,14 @@
% if show_prev_next is not Undefined and show_prev_next:
<div style="float: right;">
% if prev_url:
${h.link_to("« Older", prev_url, class_='button autodisable')}
${h.link_to(u"« Older", prev_url, class_='button autodisable')}
% else:
${h.link_to("« Older", '#', class_='button', disabled='disabled')}
${h.link_to(u"« Older", '#', class_='button', disabled='disabled')}
% endif
% if next_url:
${h.link_to("Newer »", next_url, class_='button autodisable')}
${h.link_to(u"Newer »", next_url, class_='button autodisable')}
% else:
${h.link_to("Newer »", '#', class_='button', disabled='disabled')}
${h.link_to(u"Newer »", '#', class_='button', disabled='disabled')}
% endif
</div>
% endif