forked from I2P_Developers/i2p.www
Implement supercededby and supercedes proposal metadata
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{%- from "global/macros" import render_categories with context -%}
|
||||
{%- from "global/macros" import render_supercedes with context -%}
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% block content_nav %}
|
||||
{% autoescape false %}
|
||||
@@ -19,6 +19,14 @@
|
||||
<dt>Last updated</dt>
|
||||
<dd><time datetime="{{ meta.lastupdated }}">{{ meta.lastupdated }}</time></dd>
|
||||
<dt>Status</dt><dd>{{ meta.status }}</dd>
|
||||
{% if meta.supercededby -%}
|
||||
<dt>Superceded by</dt>
|
||||
<dd><a href="{{ proposal_url(meta.supercededby) }}">{{ meta.supercededby }}</a></dd>
|
||||
{%- endif %}
|
||||
{% if meta.supercedes -%}
|
||||
<dt>Supercedes</dt>
|
||||
<dd>{{ render_supercedes(meta.supercedes)|safe }}</dd>
|
||||
{%- endif %}
|
||||
</dl>
|
||||
{% autoescape false %}
|
||||
{{ body }}
|
||||
|
Reference in New Issue
Block a user