Skip to content

Commit 22f181c

Browse files
committed
Modified the text shown on Chairs' 'Manage DOcument Adoption in Group' button and corrected the logic for which text to show.
- Legacy-Id: 13725
1 parent 2070bbf commit 22f181c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/doc/views_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ def document_main(request, name, rev=None):
321321
actions = []
322322

323323
if can_adopt_draft(request.user, doc) and not doc.get_state_slug() in ["rfc"] and not snapshot:
324-
if doc.group:
324+
if doc.group and doc.group.acronym != 'none': # individual submission
325325
# already adopted in one group
326-
button_text = "Change Document Adoption to other Group"
326+
button_text = "Change Document Adoption to other Group (now in %s)" % doc.group.acronym
327327
else:
328328
button_text = "Manage Document Adoption in Group"
329329
actions.append((button_text, urlreverse('ietf.doc.views_draft.adopt_draft', kwargs=dict(name=doc.name))))

0 commit comments

Comments
 (0)