Skip to content

Commit

Permalink
[bug 714064] Showfor selector missing.
Browse files Browse the repository at this point in the history
* The showfor selector was missing on review of new article/translation.
  • Loading branch information
rlr committed Jan 3, 2012
1 parent 882f8a5 commit 45e89bf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/wiki/templates/wiki/review_revision.html
Expand Up @@ -65,5 +65,11 @@ <h3>{{ _('Revision rendered html:') }}</h3>
{{ document_tabs(document, document.parent, user, '', settings) }} {{ document_tabs(document, document.parent, user, '', settings) }}
{% endblock %} {% endblock %}


{% block side_bottom %}
{% if not revision.reviewed and not document.current_revision %}
{{ show_for(header=_('Article is for:')) }}
{% endif %}
{% endblock %}

{% block side %} {% block side %}
{% endblock %} {% endblock %}
6 changes: 6 additions & 0 deletions apps/wiki/templates/wiki/review_translation.html
Expand Up @@ -110,5 +110,11 @@ <h3>{{ _('Translation rendered html:') }}</h3>
{{ document_tabs(document, document.parent, user, '', settings) }} {{ document_tabs(document, document.parent, user, '', settings) }}
{% endblock %} {% endblock %}


{% block side_bottom %}
{% if not revision.reviewed and not document.current_revision %}
{{ show_for(header=_('Article is for:')) }}
{% endif %}
{% endblock %}

{% block side %} {% block side %}
{% endblock %} {% endblock %}

0 comments on commit 45e89bf

Please sign in to comment.