]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/wiki/modules/list.html
wiki: Remove author from search results
[ipfire.org.git] / src / templates / wiki / modules / list.html
index 9b2712cd1cc30dbe2c8f71d6b54063df4b7f7066..0663fd21a53c84dd206ed560955c099ca4eafeb2 100644 (file)
        </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 %}