~ltp-devs/loco-team-portal/trunk

« back to all changes in this revision

Viewing changes to loco_directory/templates/teams/team_detail.html

  • Committer: Thomas Bechtold
  • Date: 2009-12-19 17:49:32 UTC
  • Revision ID: thomasbechtold@jpberlin.de-20091219174932-uyzndtzzsnjc24l3
simplify team stuff; use django message system; remove US specific stuff; improve templates; use {% url %} in templates and revert() in views

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
{% block content %}
7
7
<div class="team_detail">
8
 
{% if failure_message %}
9
 
<p>
10
 
  <b><font color="red">{{ failure_message }}</font></b>
11
 
</p>
12
 
{% endif %}
13
 
<p><b><a href="/teams">{% trans "Go back to Team list." %}</a></b></p>
14
 
<p><b><a href="/teams/{{ team.lp_name }}/edit">{% trans "Edit team details." %}</a></b></p>
 
8
                <p><b><a href="{% url teams %}">{% trans "Go back to Team list." %}</a></b></p>
 
9
                {% if user.is_authenticated %}
 
10
                                <p><b><a href="{% url team_editslug team.lp_name %}">{% trans "Edit team details." %}</a></b></p>
 
11
                {% endif %}
15
12
<h2><a href="https://launchpad.net/~{{ team.lp_name }}">{% trans team.name %}</a></h2>
16
13
<table cellpadding="0" cellspacing="0">
17
14
<tr><th colspan="2">{% trans "Location Information" %}</th></tr>