project.html (754B)
1 {% extends 'base.html' %} 2 3 {% block title %}Agreement Reports{% endblock %} 4 5 {% block content %} 6 7 {% with messages = get_flashed_messages() %} 8 {% if messages %} 9 {% for message in messages %} 10 <div id="messagebanner"><p>{{message}}</p></div> 11 {% endfor %} 12 {% endif %} 13 {% endwith %} 14 15 {% for user in nouser %} 16 <div id="messagebanner"><p>No user for {{ user }}</p></div> 17 {% endfor %} 18 19 <section class="admin-grid"> 20 <!-- returned values from admin check is array of permissive ACCESS else return 'missing permissions response' --> 21 {%- for x in ['pay_period_report','reports','roles','users'] %} 22 {% include 'admin/'~x~'/widget.html' %} 23 {%- else-%} 24 {{ 'You do not have permission to access this page' }} 25 {%- endfor %} 26 </section> 27 {% endblock %}