Browse Source

Fix index.html path on index template

master
Sven Slootweg 9 years ago
parent
commit
88be278b27
  1. 2
      render

2
render

@ -86,7 +86,7 @@ def render_index(email_list, title, identifier):
'page': title,
'pagenum': "Page %d of %d" % (current_page + 1, len(email_list)),
'title': options['title'],
'index': "../index.html",
'index': "index.html",
'items': "".join('<tr class="clickable" data-url="messages/%s"><td>%s...</td><td>%s</td><td>%s</td><td><a href="messages/%s">%s</a></td><td>%s</td><td>%s</td></tr>' % (message[10], message[0][:8], message[3], message[4], message[10], message[5], message[6], message[7]) for message in list_chunk),
'prev': prevpage,
'next': nextpage,

Loading…
Cancel
Save