Adjust when materials links on the materials page show for the secretariat. Commit ready for merge.

- Legacy-Id: 12384
This commit is contained in:
Robert Sparks 2016-11-17 22:45:29 +00:00
parent be51bc2e78
commit 4e7d077b16
2 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,7 @@
</td>
{% if session.status_id == 'canceled' %}
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<td colspan="4"><span class="label label-danger">Session cancelled</span></td>
{% else %}
<td colspan="3"><span class="label label-danger">Session cancelled</span></td>
@ -61,7 +61,7 @@
{% endfor %}
{% endwith %}
</td>
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<td>
<div>{% include "meeting/edit_materials_button.html" %}</div>
</td>

View file

@ -40,7 +40,7 @@
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<th class="col-md-1">Group</th>
<th class="col-md-1">Agenda</th>
<th class="col-md-1">Minutes</th>
@ -72,7 +72,7 @@
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<th class="col-md-1">Group</th>
<th class="col-md-1">Agenda</th>
<th class="col-md-1">Minutes</th>
@ -106,7 +106,7 @@
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<th class="col-md-1">Group</th>
<th class="col-md-1">Agenda</th>
<th class="col-md-1">Minutes</th>
@ -140,7 +140,7 @@
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<th class="col-md-1">Group</th>
<th class="col-md-1">Agenda</th>
<th class="col-md-1">Minutes</th>
@ -173,7 +173,7 @@
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
{% if user and user.is_authenticated and user|managed_groups %}
{% if user|has_role:"Secretariat" or user|managed_groups %}
<th class="col-md-1">Group</th>
<th class="col-md-1">Agenda</th>
<th class="col-md-1">Minutes</th>