diff --git a/ietf/templates/meeting/group_materials.html b/ietf/templates/meeting/group_materials.html index 9c1898d4f..8654f09cc 100644 --- a/ietf/templates/meeting/group_materials.html +++ b/ietf/templates/meeting/group_materials.html @@ -18,7 +18,7 @@ {% if session.status_id == 'canceled' %} - {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %} Session cancelled {% else %} Session cancelled @@ -61,7 +61,7 @@ {% endfor %} {% endwith %} - {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %}
{% include "meeting/edit_materials_button.html" %}
diff --git a/ietf/templates/meeting/materials.html b/ietf/templates/meeting/materials.html index 17ec8f543..83af6217c 100644 --- a/ietf/templates/meeting/materials.html +++ b/ietf/templates/meeting/materials.html @@ -40,7 +40,7 @@ - {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %} @@ -72,7 +72,7 @@
Group Agenda Minutes
- {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %} @@ -106,7 +106,7 @@
Group Agenda Minutes
- {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %} @@ -140,7 +140,7 @@
Group Agenda Minutes
- {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %} @@ -173,7 +173,7 @@
Group Agenda Minutes
- {% if user and user.is_authenticated and user|managed_groups %} + {% if user|has_role:"Secretariat" or user|managed_groups %}
Group Agenda Minutes