</strong>
<p class="text-muted small">
- {{ locale.format_date(page.timestamp, shorter=True, relative=False) }}
+ {% if show_author %}
+ {{ _("Last edited %s") % locale.format_date(page.timestamp, shorter=True, relative=False) }}
- {% if page.author %}
- {{ _("by") }}
- <a href="/users/{{ page.author.uid }}">{{ page.author }}</a>
+ {% if page.author %}
+ {{ _("by") }}
+ <a href="/users/{{ page.author.uid }}">{{ page.author }}</a>
+ {% end %}
{% end %}
{% if show_changes %}
class WikiListModule(ui_modules.UIModule):
- def render(self, pages, link_revision=False, show_breadcrumbs=True, show_changes=False):
+ def render(self, pages, link_revision=False, show_breadcrumbs=True,
+ show_author=True, show_changes=False):
return self.render_string("wiki/modules/list.html", link_revision=link_revision,
- pages=pages, show_breadcrumbs=show_breadcrumbs, show_changes=show_changes)
+ pages=pages, show_breadcrumbs=show_breadcrumbs,
+ show_author=show_author, show_changes=show_changes)
class WikiNavbarModule(ui_modules.UIModule):