From 81e58f20af459a5b5256d5be1dc5480e4f6ff5a3 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Fri, 7 Apr 2017 10:34:35 +0000 Subject: [PATCH] Render proposal editor(s) --- i2p2www/pages/spec/proposal-show.html | 4 ++++ i2p2www/spec/views.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/i2p2www/pages/spec/proposal-show.html b/i2p2www/pages/spec/proposal-show.html index afddd13c8..0ed30577e 100644 --- a/i2p2www/pages/spec/proposal-show.html +++ b/i2p2www/pages/spec/proposal-show.html @@ -12,6 +12,10 @@ <dd>{{ meta.num }}</dd> <dt>Author</dt> <dd>{{ meta.author }}</dd> + {% if meta.editor -%} + <dt>Editor</dt> + <dd>{{ meta.editor }}</dd> + {%- endif %} <dt>Created</dt> <dd><time datetime="{{ meta.created }}">{{ meta.created }}</time></dd> <dt>Thread</dt> diff --git a/i2p2www/spec/views.py b/i2p2www/spec/views.py index 55f72cdf7..1e938afde 100644 --- a/i2p2www/spec/views.py +++ b/i2p2www/spec/views.py @@ -41,6 +41,7 @@ SPEC_CATEGORY_SORT = defaultdict(lambda: 999, { PROPOSAL_METATAGS = { 'author': u'I2P devs', 'created': None, + 'editor': None, 'implementedin': None, 'lastupdated': None, 'status': u'Draft', @@ -72,6 +73,7 @@ METATAG_LABELS = { 'author': u'Author', 'category': u'Category', 'created': u'Created', + 'editor': u'Editor', 'implementedin': u'Implemented in', 'lastupdated': u'Last updated', 'status': u'Status', -- GitLab