Only show 'concluded' for specific status_id values, not as the inverse of 'proposed' and 'active'. Related to #786.

- Legacy-Id: 4060
This commit is contained in:
Henrik Levkowetz 2012-03-07 10:17:00 +00:00
parent fd7c95fd28
commit 6740179f8e

View file

@ -121,7 +121,7 @@ if settings.USE_DB_REDESIGN_PROXY_CLASSES:
def wg_documents(request, acronym):
wg = get_object_or_404(IETFWG, group_acronym__acronym=acronym, group_type=1)
concluded = (wg.status_id != 1 and wg.status_id != 4)
concluded = wg.status_id in [ 2, 3, ]
proposed = (wg.status_id == 4)
form = SearchForm({'by':'group', 'group':str(wg.group_acronym.acronym),
'rfcs':'on', 'activeDrafts':'on'})
@ -170,7 +170,7 @@ def wg_documents_html(request, acronym):
def wg_charter(request, acronym):
wg = get_object_or_404(IETFWG, group_acronym__acronym=acronym, group_type=1)
concluded = (wg.status_id != 1 and wg.status_id != 4)
concluded = wg.status_id in [ 2, 3, ]
proposed = (wg.status_id == 4)
if settings.USE_DB_REDESIGN_PROXY_CLASSES: