Changeset 1cfb402 for asadb/template


Ignore:
Timestamp:
Jan 23, 2012, 4:03:58 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
669d447
Parents:
96754f0
git-author:
Alex Dehnert <adehnert@…> (01/23/12 04:03:58)
git-committer:
Alex Dehnert <adehnert@…> (01/23/12 04:03:58)
Message:

Restrict account info to view private info folks

Continues reverting b8bc2293a59035b7be69bc74dcd283af4fe2c9d9.

File:
1 edited

Legend:

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

    r6290761 r1cfb402  
    77{% if adminpriv %}<a href='{%url groups:group-manage-main group.pk %}'>[update]</a></p>{%endif%}
    88</h1>
    9 
    10 <div class='messagebox errorbox'>
    11 <p>Note: Fields marked [redacted temporarily] are being redacted for part of the beta, but are likely to be public later on. Please contact asa-db@mit.edu if you object to them becoming public.</p>
    12 </div>
    139
    1410<table class='pretty-table'>
     
    4844<tr><th colspan='2'>Financial Information</th></tr>
    4945<tr><th>Funding status</th><td>{{group.group_funding}}</td></tr>
    50 <tr><th>Main Account</th><td>272[redacted temporarily]</td></tr>
    51 <tr><th>Funding Account</th><td>272[redacted temporarily]</td></tr>
     46{% if viewpriv %}
     47<tr class='private-info'><th>Main Account</th><td>{{group.main_account_id}}</td></tr>
     48<tr class='private-info'><th>Funding Account</th><td>{{group.funding_account_id}}</td></tr>
     49{% endif %}
    5250
    5351<tr><th colspan='2'>Additional Information</th></tr>
Note: See TracChangeset for help on using the changeset viewer.