[damned-lies] Improve team display when there is no coordinator
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Improve team display when there is no coordinator
- Date: Mon, 5 Sep 2011 12:49:20 +0000 (UTC)
commit 9aa3efb8a58723af2878a7319fdf850eeb76f3bc
Author: Claude Paroz <claude 2xlibre net>
Date: Mon Sep 5 14:48:55 2011 +0200
Improve team display when there is no coordinator
templates/teams/team_base.html | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/templates/teams/team_base.html b/templates/teams/team_base.html
index c533566..e06b3fd 100644
--- a/templates/teams/team_base.html
+++ b/templates/teams/team_base.html
@@ -11,18 +11,18 @@
</h2>
{% if team.webpage_url %}
- <strong>{% blocktrans %}{{ lang }} Translation Team Page:{% endblocktrans %}</strong>
- <a href="{{ team.webpage_url }}">{{ team.webpage_url }}</a><br />
+ <h3>{% blocktrans %}{{ lang }} Translation Team Page:{% endblocktrans %}</h3>
+ <a href="{{ team.webpage_url }}">{{ team.webpage_url }}</a>
{% endif %}
- <br/><strong>{% trans "Bugzilla:" %}</strong>
+ <h3>{% trans "Bugzilla:" %}</h3>
<ul class="smallspacing">
<li><a href="{{ language.bugs_url_enter|safe }}">{% trans "Report Bug in Translation" %}</a></li>
<li><a href="{{ language.bugs_url_show|safe }}">{% trans "Show Existing Bugs" %}</a></li>
</ul>
{% if team.mailing_list %}
- <br/><strong>{% trans "Mailing List:" %}</strong>
+ <h3>{% trans "Mailing List:" %}</h3>
<ul class="smallspacing">
<li><a href="mailto:{{ team.mailing_list }}">{% trans "Send e-mail to the list" %}</a></li>
{% if team.mailing_list_subscribe %}
@@ -32,12 +32,15 @@
{% endif %}
</td><td valign="top">
- {% if team.get_coordinator %}
<h2>{% trans "Coordinator" %}</h2>
- {% with team.get_coordinator as person %}
- {% include "people/person_overview.html" %}
- {% endwith %}
- {% endif %}
+ {% if team.get_coordinator %}
+ {% with team.get_coordinator as person %}
+ {% include "people/person_overview.html" %}
+ {% endwith %}
+ {% else %}
+ <p><em>{% trans "This team has currently no coordinator." %}<br>
+ {% blocktrans with link="http://live.gnome.org/TranslationProject/TeamCoordinatorResponsibilities" %}See <a href="{{ link }}">the GTP Wiki</a> for more information about coordinatorship.{% endblocktrans %}</em></p>
+ {% endif %}
</td></tr></table>
{% endwith %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]