Changeset b38a26a for asadb/template


Ignore:
Timestamp:
Apr 17, 2012, 3:03:21 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
78de8cb
Parents:
59ed3da
git-author:
Alex Dehnert <adehnert@…> (04/17/12 03:03:21)
git-committer:
Alex Dehnert <adehnert@…> (04/17/12 03:03:21)
Message:

Show MIT offices the link to space access page

MIT offices don't have admin_group, so they don't get the full set of tools.
Unfortunately, they *should* get the space access page, so they can view
who is supposed to have access.

Longer term, group_tools.part.html should probably get used for everybody.
It should cleverly compute viewpriv and adminpriv based on request.user and
the group currently being viewed... but unfortunately we don't have that,
and I don't feel like adding it right now. So this'll have to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/groups/group_detail.html

    rf37bfb1 rb38a26a  
    1313<p>You are not an admin of this group.</p>
    1414<p><a href='http://web.mit.edu/asa/database/faq.html#perm'>See FAQ</a> for more info.</p>
     15{% if viewpriv %}<p>See also <a href='{% url groups:group-space-access group.pk %}'>space access</a>.</p>{% endif %}
    1516{% else %}
    1617<p>No tools available without <a href='{% url login %}?next={% firstof request.path '/' %}'>logging in</a>.</p>
Note: See TracChangeset for help on using the changeset viewer.