Changeset ea76b01 for remit


Ignore:
Timestamp:
Apr 17, 2010, 5:58:32 PM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
0f53aae
Parents:
a875cb6
git-author:
Alex Dehnert <adehnert@…> (04/17/10 17:58:32)
git-committer:
Alex Dehnert <adehnert@…> (04/17/10 17:58:32)
Message:

Check for bits before displaying reporting links

Location:
remit/remit_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • remit/remit_templates/base.html

    red4ccc7 rea76b01  
    1616        <li{% ifequal pagename "list_requests" %} class='selected'{% endifequal %}><a href="{% url list_requests %}">List requests</a></li>
    1717        {% endif %}
     18        {% if perms.finance_core.use_reporting %}
    1819        <li{% ifequal pagename "reporting" %} class='selected'{% endifequal %}><a href="{% url reporting %}">Reporting</a></li>
     20        {% endif %}
    1921    </ul>
    2022    <div id='content'>
  • remit/remit_templates/index.html

    r80d1270 rea76b01  
    1515    <li><a href="{% url list_requests %}">List requests</a></li>
    1616    {% endif %}
    17     <li{% ifequal pagename "reporting" %} class='selected'{% endifequal %}><a href="{% url reporting %}">Reporting</a></li>
     17    {% if perms.finance_core.use_reporting %}
     18    <li><a href="{% url reporting %}">Reporting</a></li>
     19    {% endif %}
    1820</ul>
    1921
Note: See TracChangeset for help on using the changeset viewer.