From 7538eab96f54b3ff44af73960096d01675c54e2c Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Tue, 19 Jun 2012 18:48:02 +0000 Subject: [PATCH] Fix flow of approval of charters/announcement of the WG action based on feedback from Cindy Morgan, now there's a link on the approval page to go to the edit page which sends you back upon saving, and the edit page doesn't provide a button to send the announcement since you should do that on the approve page (instead it provides a link). - Legacy-Id: 4474 --- ietf/templates/wgcharter/announcement_text.html | 10 ++++++++-- ietf/templates/wgcharter/approve.html | 3 ++- ietf/wgcharter/urls.py | 2 +- ietf/wgcharter/views.py | 6 +++++- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ietf/templates/wgcharter/announcement_text.html b/ietf/templates/wgcharter/announcement_text.html index 168d23c64..38113ef51 100644 --- a/ietf/templates/wgcharter/announcement_text.html +++ b/ietf/templates/wgcharter/announcement_text.html @@ -18,14 +18,20 @@ form #id_announcement_text {
Back - - + +
{% load ietf_filters %} {% if user|has_role:"Secretariat" %} +

Secretariat actions

+
+ {% if announcement == "action" %} + Go to charter approval page + {% else %} + {% endif %}
{% endif %} diff --git a/ietf/templates/wgcharter/approve.html b/ietf/templates/wgcharter/approve.html index 1fba5eed5..5287aec47 100644 --- a/ietf/templates/wgcharter/approve.html +++ b/ietf/templates/wgcharter/approve.html @@ -19,7 +19,7 @@ form.approve .announcement { {% endblock %} {% block content %} -

Approve {{ charter.canonical_name }}

+

Approve {{ charter.canonical_name }}-{{ charter.rev }}

IETF announcement:
@@ -31,6 +31,7 @@ form.approve .announcement {
Back + Go to edit/regenerate announcement page
diff --git a/ietf/wgcharter/urls.py b/ietf/wgcharter/urls.py index 2aa4c955f..e9b04b5ec 100644 --- a/ietf/wgcharter/urls.py +++ b/ietf/wgcharter/urls.py @@ -7,7 +7,7 @@ urlpatterns = patterns('', url(r'^(?P