Changeset cf509c0


Ignore:
Timestamp:
Mar 17, 2013, 7:03:35 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
26826c9
Parents:
7d7801f
git-author:
Alex Dehnert <adehnert@…> (03/17/13 07:03:35)
git-committer:
Alex Dehnert <adehnert@…> (03/17/13 07:03:35)
Message:

Basic list of groups at the midway

Location:
asadb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    r7d7801f rcf509c0  
    632632        'found': found,
    633633        'issues': dict(issues),
    634         #'issues': issues,
    635634        'pagename':'midway',
    636635    }
  • asadb/template/midway/map.html

    rd848b98 rcf509c0  
    1313
    1414<h2>Assignments</h2>
     15<table class='pretty-table'>
     16<tr>
     17    <th>Group</th>
     18    <th>Table</th>
     19    <th>Website</th>
     20</tr>
     21{% for assignment in assignments %}
     22<tr>
     23    <th>{{assignment.group}}</th>
     24    <td>{{assignment.location}}</td>
     25    <td>{% if assignment.group.website_url %}<a href='{{assignment.group.website_url}}'>Website</a>{% endif %}</td>
     26</tr>
     27{% endfor %}
     28</table>
    1529
    1630{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.