From: yomguy Date: Mon, 20 Feb 2012 17:17:59 +0000 (+0100) Subject: add author to last revision X-Git-Tag: 1.4.2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=376c298b0a4de9f4a0838bce1f5a1e029e26a1cd;p=telemeta.git add author to last revision --- diff --git a/telemeta/templates/telemeta/collection_detail.html b/telemeta/templates/telemeta/collection_detail.html index f72b9ccb..b33f21a2 100644 --- a/telemeta/templates/telemeta/collection_detail.html +++ b/telemeta/templates/telemeta/collection_detail.html @@ -101,7 +101,7 @@ {% endfor %} {% if last_revision %}
{% trans "Last modification" %}
-
{{ last_revision.time }}
+
{{ last_revision.time }} {% if user.is_authenticated %}({{last_revision.user.username}}){% endif %}
{% endif %} {% endblock general_info %} diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index 6044e68a..68e84ce7 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -197,7 +197,7 @@ Item : {{ item }} {% if last_revision %}
{% trans "Last modification" %}
-
{{ last_revision.time }}
+
{{ last_revision.time }} {% if user.is_authenticated %}({{last_revision.user.username}}){% endif %}
{% endif %} diff --git a/telemeta/templates/telemeta/resource_detail.html b/telemeta/templates/telemeta/resource_detail.html index 74e900da..af763238 100644 --- a/telemeta/templates/telemeta/resource_detail.html +++ b/telemeta/templates/telemeta/resource_detail.html @@ -71,7 +71,7 @@ jQuery(document).ready(function(){ {% endfor %} {% if last_revision %}
{% trans "Last modification" %}
-
{{ last_revision.time }}
+
{{ last_revision.time }} {% if user.is_authenticated %}({{last_revision.user.username}}){% endif %}
{% endif %}