Commit 085d1e5da265d3ee95fe93ede4ccc9995d5290d8
1 parent
3674c719
Exists in
master
and in
39 other branches
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,7 +179,9 @@ | ||
179 | <p class="col-lg-12 text-center"> | 179 | <p class="col-lg-12 text-center"> |
180 | <a href="{% url 'opendata' %}"><img src="{{ STATIC_URL }}img/opendata3.png"/></a> | 180 | <a href="{% url 'opendata' %}"><img src="{{ STATIC_URL }}img/opendata3.png"/></a> |
181 | </p> | 181 | </p> |
182 | + {% if user.is_staff %} | ||
182 | <p class="col-lg-12 text-center">{% trans "Last email imported at" %} {{ last_imported_message.received_time|date:'DATETIME_FORMAT' }}</p> | 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 | <p class="col-lg-12 text-center"> | 185 | <p class="col-lg-12 text-center"> |
184 | {% trans "The contents of this site is published under license" %} | 186 | {% trans "The contents of this site is published under license" %} |
185 | <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/br/"> | 187 | <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/br/"> |