We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445b968 commit 44c7876Copy full SHA for 44c7876
1 file changed
ietf/idrfc/views_doc.py
@@ -208,7 +208,7 @@ def _get_history(doc, versions):
208
v = dict(v) # copy it, since we're modifying datetimes later
209
v['is_rev'] = True
210
results.insert(0, v)
211
- if doc.is_id_wrapper and doc.draft_status == "Expired" and doc._draft.expiration_date:
+ if not settings.USE_DB_REDESIGN_PROXY_CLASSES and doc.is_id_wrapper and doc.draft_status == "Expired" and doc._draft.expiration_date:
212
results.append({'is_text':True, 'date':doc._draft.expiration_date, 'text':'Draft expired'})
213
if not settings.USE_DB_REDESIGN_PROXY_CLASSES and doc.is_rfc_wrapper:
214
text = 'RFC Published'
0 commit comments