From 637c1a0e7bf8f8292d23cd3573bcb26b11ce9eef Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 9 Jun 2016 21:42:45 +0000 Subject: [PATCH] Added links to dependency graph and tools page to the group metainformation. Reindented consistently. - Legacy-Id: 11295 --- ietf/templates/group/group_about.html | 182 ++++++++++++++------------ 1 file changed, 99 insertions(+), 83 deletions(-) diff --git a/ietf/templates/group/group_about.html b/ietf/templates/group/group_about.html index 4b8651bf3..dfccace10 100644 --- a/ietf/templates/group/group_about.html +++ b/ietf/templates/group/group_about.html @@ -12,76 +12,87 @@ - - - - - - - - - - - - - - - - {% if group.parent and group.parent.type_id == "area" %} - - - {% else %} - - {% endif %} - - - - - - - - - {% if group.features.has_chartering_process %} + - - - + + + - {% endif %} - {% if can_provide_status_update or status_update %} - - - - + + + + - {% endif %} + + + {% if group.parent and group.parent.type_id == "area" %} + + + {% else %} + + {% endif %} + + + + + + + + + {% if group.features.has_chartering_process %} + + + + + + {% endif %} + + {% if can_provide_status_update or status_update %} + + + + + + {% endif %} + + {% if group.features.has_documents %} + + + + + + {% endif %} {% with group.groupurl_set.all as urls %} {% if urls %} @@ -89,6 +100,10 @@ + - {% for slug, label, roles in group.personnel %} - - {% if forloop.first %} - - {% else %} - - {% endif %} - - - - {% endfor %} + {% for slug, label, roles in group.personnel %} + + {% if forloop.first %} + + {% else %} + + {% endif %} + + + + {% endfor %} - {% if group.list_email %}
{{ group.type.name }}Name{{ group.name }}
Acronym{{ group.acronym }}
{{ group.parent.type.name }}{{ group.parent.name }} ({{ group.parent.acronym }})
State - {{ group.state.name }} - {% if requested_close %} -
In the process of being closed
- {% endif %} -
Charter - {% if group.charter %} - {{ group.charter.name }}-{{ group.charter.rev }} - {{ group.charter.get_state.name }} - {% else %} - (None) - {% if user|has_role:"Area Director,Secretariat" %} - Submit charter - {% endif %} - {% endif %} - {{ group.type.name }}Name{{ group.name }}
Status Update - {% if status_update %} - (last changed {{status_update.time|date:"Y-m-d"}}) - {% else %} - (None) - {% endif %} - Show - {% if can_provide_status_update %} - Edit - {% endif %} -
Acronym{{ group.acronym }}
{{ group.parent.type.name }}{{ group.parent.name }} ({{ group.parent.acronym }})
State + {{ group.state.name }} + {% if requested_close %} +
In the process of being closed
+ {% endif %} +
Charter + {% if group.charter %} + {{ group.charter.name }}-{{ group.charter.rev }} + {{ group.charter.get_state.name }} + {% else %} + (None) + {% if user|has_role:"Area Director,Secretariat" %} + Submit charter + {% endif %} + {% endif %} +
Status Update + {% if status_update %} + (last changed {{status_update.time|date:"Y-m-d"}}) + {% else %} + (None) + {% endif %} + Show + {% if can_provide_status_update %} + Edit + {% endif %} +
Dependencies + + Document dependency graph (SVG) + +
More info + {% if group.has_tools_page %} + Tools page + {% if urls %}
{% endif %} + {% endif %} {% for url in urls %} {% firstof url.name url.url %}{% if not forloop.last %}
{% endif %} {% endfor %} @@ -97,28 +112,29 @@ {% endif %} {% endwith %}
Personnel{{ label }} - {% for r in roles %} - - {{ r.person.plain_name }} -
- {% endfor %} -
Personnel{{ label }} + + {% for r in roles %} + + {{ r.person.plain_name }} +
+ {% endfor %} +