From 22f181cdbe5850c68ba2af425b797afbbe157e6d Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 28 Jun 2017 17:39:11 +0000 Subject: [PATCH] Modified the text shown on Chairs' 'Manage DOcument Adoption in Group' button and corrected the logic for which text to show. - Legacy-Id: 13725 --- ietf/doc/views_doc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index 037e04226..5b168c498 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -321,9 +321,9 @@ def document_main(request, name, rev=None): actions = [] if can_adopt_draft(request.user, doc) and not doc.get_state_slug() in ["rfc"] and not snapshot: - if doc.group: + if doc.group and doc.group.acronym != 'none': # individual submission # already adopted in one group - button_text = "Change Document Adoption to other Group" + button_text = "Change Document Adoption to other Group (now in %s)" % doc.group.acronym else: button_text = "Manage Document Adoption in Group" actions.append((button_text, urlreverse('ietf.doc.views_draft.adopt_draft', kwargs=dict(name=doc.name))))