Add review status to editor listing
This commit is contained in:
parent
751b0cf485
commit
3832a18d63
|
@ -53,9 +53,16 @@
|
||||||
{% for article in articles %}
|
{% for article in articles %}
|
||||||
{% if article.character == char.cid %}
|
{% if article.character == char.cid %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ url_for('lexicon.editor', name=g.lexicon.name, cid=char.cid, aid=article.aid) }}">
|
<a href="{{ url_for('lexicon.editor', name=g.lexicon.name, cid=char.cid, aid=article.aid) }}">{{ article.title if article.title.strip() else "Untitled" }}</a>
|
||||||
{{ article.title if article.title.strip() else "Untitled" }}
|
<span>
|
||||||
</a>
|
{% if not article.status.ready %}
|
||||||
|
[Draft]
|
||||||
|
{% elif not article.status.approved %}
|
||||||
|
[Pending]
|
||||||
|
{% else %}
|
||||||
|
[Approved]
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue