Changeset 223e487 for asadb/template


Ignore:
Timestamp:
Feb 3, 2012, 4:51:25 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
d5631bc
Parents:
ab32c07
git-author:
Alex Dehnert <adehnert@…> (02/03/12 04:40:00)
git-committer:
Alex Dehnert <adehnert@…> (02/03/12 04:51:25)
Message:

Linkify "log in to see ..." comments

This is sort of a fix to #61.

File:
1 edited

Legend:

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

    re0ac866 r223e487  
    2121<tr><th>Website</th><td><a href="{{group.website_url}}">{{group.website_url}}</a></td></tr>
    2222<tr><th>Meeting times</th><td>{{group.meeting_times}}</td></tr>
    23 <tr><th>Officer email</th><td>{% if user.is_authenticated %}{{group.officer_email}}{% else %}[log in to see emails]{% endif %}</td></tr>
     23<tr><th>Officer email</th><td>{% if user.is_authenticated %}{{group.officer_email}}{% else %}[<a href='{% url login %}'>log in</a> to see emails]{% endif %}</td></tr>
    2424{% if viewpriv %}<tr class='private-info'>
    2525    <th>Group email</th>
     
    3838{% endfor %}
    3939{% else %}
    40 <tr><td colspan='2'>[log in to see people involved]</td></tr>
     40<tr><td colspan='2'>[<a href='{% url login %}'>log in</a> to see people involved]</td></tr>
    4141{% endif %}
    4242
Note: See TracChangeset for help on using the changeset viewer.