Commit 085d1e5da265d3ee95fe93ede4ccc9995d5290d8

Authored by Marco
1 parent 3674c719

Letting just staff users see the info "Last email imported at"

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
src/templates/base.html
... ... @@ -179,7 +179,9 @@
179 179 <p class="col-lg-12 text-center">
180 180 <a href="{% url 'opendata' %}"><img src="{{ STATIC_URL }}img/opendata3.png"/></a>
181 181 </p>
  182 + {% if user.is_staff %}
182 183 <p class="col-lg-12 text-center">{% trans "Last email imported at" %} {{ last_imported_message.received_time|date:'DATETIME_FORMAT' }}</p>
  184 + {% endif %}
183 185 <p class="col-lg-12 text-center">
184 186 {% trans "The contents of this site is published under license" %}
185 187 <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/br/">
... ...