Changeset 6229687


Ignore:
Timestamp:
Feb 1, 2012, 10:20:20 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
ab32c07
Parents:
9e6b8b7
git-author:
Alex Dehnert <adehnert@…> (02/01/12 10:20:20)
git-committer:
Alex Dehnert <adehnert@…> (02/01/12 10:20:20)
Message:

Put the tools at the bottom of the page instead

Geoff thinks the sidebar only on the homepage is confusing, and that most
of the benefits are achieved by moving the tools down.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/index.html

    r4aff789 r6229687  
    88<p>Here you can find and submit information about groups recognized by the <a href='http://web.mit.edu/asa/'>MIT Association of Student Activities</a>.</p>
    99
    10 <div class='toolbox'>
     10<h2>My Groups</h2>
     11
     12{% if user.is_anonymous %}
     13<p><a href='{% url login %}'>Login</a> to see your groups.</p>
     14{% else %}
     15{%if not groups %}
     16<p>You do not currently appear to be listed with any groups.</p>
     17{% endif %}
     18{% endif %}
     19
     20{% if groups %}
     21<ul>
     22{% for group in groups %}
     23    <li><a href='{% url groups:group-detail group.pk %}'>{{group}}</a></li>
     24{%endfor%}
     25</ul>
     26{% endif %}
     27
    1128<h2>Tools</h2>
    1229<ul>
     
    3855    </ul></li>
    3956</ul>
    40 </div>
    41 
    42 <h2>My Groups</h2>
    43 
    44 {% if user.is_anonymous %}
    45 <p><a href='{% url login %}'>Login</a> to see your groups.</p>
    46 {% else %}
    47 {%if not groups %}
    48 <p>You do not currently appear to be listed with any groups.</p>
    49 {% endif %}
    50 {% endif %}
    51 
    52 {% if groups %}
    53 <ul>
    54 {% for group in groups %}
    55     <li><a href='{% url groups:group-detail group.pk %}'>{{group}}</a></li>
    56 {%endfor%}
    57 </ul>
    58 {% endif %}
    5957
    6058{% if has_perms %}
Note: See TracChangeset for help on using the changeset viewer.