Changeset 0a31846


Ignore:
Timestamp:
Nov 5, 2012, 3:52:37 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
bbc8f73
Parents:
251503b
git-author:
Alex Dehnert <adehnert@…> (11/05/12 03:49:51)
git-committer:
Alex Dehnert <adehnert@…> (11/05/12 03:52:37)
Message:

Add page on database roles (ASA-#164)

Location:
asadb
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/views.py

    re034df6 r0a31846  
    6969    return render_to_response('index.html', context, context_instance=RequestContext(request), )
    7070
    71 
     71def view_roles_descriptions(request, ):
     72    roles  = groups.models.OfficerRole.objects.all()
     73    context = {
     74        'pagename': 'about',
     75        'roles': roles,
     76    }
     77    return render_to_response('about/roles_descriptions.html', context, context_instance=RequestContext(request), )
    7278
    7379################
  • asadb/template/about/index.html

    r49724e4 r0a31846  
    1010<p>To contact the Association of Student Activities, please see <a href='http://web.mit.edu/asa/about/contact-info.html'>our contact information</a>. For issues directly about the ASA Group Database, please contact the database team at <a href='mailto:asa-db@mit.edu'>asa-db@mit.edu</a>. Make sure to <em>include your group's name</em>, and preferably a link to your group's database page. If you're following up on an email from us or the database, please make sure to <em>quote the original message</em>.</p>
    1111
    12 <p>See also the following pages on the ASA website:</p>
     12<p>See also the following pages:</p>
    1313
    1414<ul>
    15     <li><a href='http://web.mit.edu/asa/database/faq.html'>Frequently Asked Questions</a></li>
    16     <li><a href='http://web.mit.edu/asa/database/account-numbers.html'>Information on visibility of account numbers</a></li>
    17     <li><a href='http://web.mit.edu/asa/database/use-of-data.html'>Use of Data</a></li>
     15    <li><a href='http://web.mit.edu/asa/database/faq.html'>Frequently Asked Questions</a> (on the ASA website)</li>
     16    <li><a href='http://web.mit.edu/asa/database/account-numbers.html'>Information on visibility of account numbers</a> (on the ASA website)</li>
     17    <li><a href='http://web.mit.edu/asa/database/use-of-data.html'>Use of Data</a> (on the ASA website)</li>
     18    <li><a href='{% url about-roles %}'>Roles tracked by the ASA Database</a></li>
    1819</ul>
    1920
  • asadb/urls.py

    rbda4d86 r0a31846  
    1919        {'url': 'http://web.mit.edu/asa/database/use-of-data.html'},
    2020        name='about-data',
     21    ),
     22    url(
     23        r'^roles/$',
     24        'groups.views.view_roles_descriptions',
     25        name='about-roles',
    2126    ),
    2227    url(
Note: See TracChangeset for help on using the changeset viewer.