{% extends 'forgewiki:templates/wiki/master.html' %} {% do g.register_forge_css('css/forge/hilite.css', compress=False) %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{page.title}}{% endblock %} {% block header %}{{page.title}}{% if page['deleted'] %} (deleted){% endif %}{% endblock %} {% block extra_css %} {% endblock %} {% block head %} {% endblock %} {% block body_attrs %} class="wiki-{{(page.title).replace(' ','_')}}"{% endblock %} {% block actions %} {% if not page['deleted'] %} {% if c.user and c.user != c.user.anonymous() %} {% endif %} {% elif h.has_access(page, 'delete')() %} {% endif %} {% if c.user and c.user != c.user.anonymous() %} {{c.subscribe_form.display(value=subscribed, action='subscribe', style='icon', tool_subscribed=tool_subscribed)}} {% endif %} {% endblock %} {% block wiki_content %} {{page.html_text}} {% endblock %} {% block wiki_meta %}
{% if page.labels %}
{% for label in page.labels %} {% if label != '' %} {{label}} ({{page.artifacts_labeled_with(label, page.app_config).count()}}) {% endif %} {% endfor %}
{% endif %}
{% for author in page.authors() %} {{lib.gravatar(author, size=16)}} {% endfor %}
{% endblock %} {% block after_content %} {% if page.attachments %}
Attachments
{% endif %} {% for att in page.attachments %}
{{att.filename}} ({{att.length}} bytes)
{% endfor %}
{{lib.related_artifacts(page)}} {% if page.discussion_thread and c.app.show_discussion %} {% set thread = page.discussion_thread %}
{{c.thread.display(value=thread,page=pagenum,limit=limit,count=count)}}
{% endif %} {% endblock %}