Skip to content

Commit 6740179

Browse files
committed
Only show 'concluded' for specific status_id values, not as the inverse of 'proposed' and 'active'. Related to ietf-tools#786.
- Legacy-Id: 4060
1 parent fd7c95f commit 6740179

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/wginfo/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def wg_dirREDESIGN(request):
121121

122122
def wg_documents(request, acronym):
123123
wg = get_object_or_404(IETFWG, group_acronym__acronym=acronym, group_type=1)
124-
concluded = (wg.status_id != 1 and wg.status_id != 4)
124+
concluded = wg.status_id in [ 2, 3, ]
125125
proposed = (wg.status_id == 4)
126126
form = SearchForm({'by':'group', 'group':str(wg.group_acronym.acronym),
127127
'rfcs':'on', 'activeDrafts':'on'})
@@ -170,7 +170,7 @@ def wg_documents_html(request, acronym):
170170

171171
def wg_charter(request, acronym):
172172
wg = get_object_or_404(IETFWG, group_acronym__acronym=acronym, group_type=1)
173-
concluded = (wg.status_id != 1 and wg.status_id != 4)
173+
concluded = wg.status_id in [ 2, 3, ]
174174
proposed = (wg.status_id == 4)
175175

176176
if settings.USE_DB_REDESIGN_PROXY_CLASSES:

0 commit comments

Comments
 (0)