]> git.parisson.com Git - telemeta.git/commitdiff
fix username in revision template : a revision should always have a user (anonymous...
authoryomguy <yomguy@parisson.com>
Fri, 25 Mar 2011 12:19:29 +0000 (13:19 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 25 Mar 2011 12:19:29 +0000 (13:19 +0100)
telemeta/templates/telemeta_default/home.html

index 8b7a1418f418dd461fe5833586e1bf46d679493f..8c8a1d1d7ee77afd57cd4f147b166cc741dde0a9 100644 (file)
@@ -45,7 +45,7 @@
         {% endif %}
         </td>
         <td>{{ r.revision.element_type }}</td>
-        <td>{% if r.revision.username %}{{ r.revision.user.username }}{% endif %}</td>
+        <td>{{ r.revision.user.username }}</td>
      </tr>
     {% endfor %}
     </table>