Hide privacy switch on root page

pull/3128/merge
Nick Smith 2016-11-04 15:41:27 +00:00 zatwierdzone przez Matt Westcott
rodzic bfa0341e05
commit f6558de4fa
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -5,6 +5,7 @@
{% page_permissions page as page_perms %}
{% endif %}
{% if not page.is_root %}
<div class="privacy-indicator {% if is_public %}public{% else %}private{% endif %}">
{% trans "Privacy" %}
{% if page_perms.can_set_view_restrictions %}
@ -21,3 +22,4 @@
{% endif %}
{% endif %}
</div>
{% endif %}