Source

moin-2.0 / MoinMoin / themes / foobar / templates / show.html

xiaq ef39900 
Thomas Waldmann 74b0ae7 



















xiaq ef39900 























Roger Haase 7f04d45 

xiaq ef39900 

Roger Haase 7f04d45 
xiaq ef39900 

Roger Haase 7f04d45 
xiaq ef39900 


Roger Haase 65b22a8 






{% extends theme("layout.html") %}

{% block head_links %}
    {{ super() }}
    <link rel="alternate" title="{{ item_name }} changes" href="{{ url_for('feed.atom', item_name=item_name) }}" type="application/atom+xml" />
    {# universal edit button support #}
    {%- if user.may.write(item_name) and 'frontend.modify_item' not in cfg.endpoints_excluded -%}
    <link rel="alternate" type="application/wiki" title="{{ _('Modify') }}" href="{{ url_for('frontend.modify_item', item_name=item_name) }}" />
    {%- endif %}
{% endblock %}

{% block content %}
    {% block content_data %}
    {% if data_rendered %}
    <div id="moin-content-data">
        {{ data_rendered }}
    </div>
    {% endif %}
    {% endblock %}
{% endblock %}

{% block local_panel %}
    <ul>
        <li class="panel">Views
            {{ itemviews }}
        </li>
        {% if rev %}
        <li id="moin-metadata">Metadata
            <ul>
                <li>{{ _("Revision:") }} {{rev.revid | shorten_id}}</li>
                <li>({{ rev.meta['mtime']|datetimeformat }})</li>
                <li>{{ _("By:") }} {{ utils.editor_info(rev.meta) }}</li>
                <li>{{ _("Size:") }} {{ rev.meta['size'] }}</li>
                <li>{{ _("Type:") }} {{ rev.meta['contenttype'] }}</li>
                {% if rev.meta.tags %}
                <li>
                {{ _("Tags:") }}
                {% for tag in rev.meta.tags -%}
                <a href="{{ url_for('frontend.tagged_items', tag=tag) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
                {%- endfor -%}
                </li>
                {% endif %}
            </ul>
        </li>
        {% endif %}
        {% set subitems = theme_supp.subitem_index(item_name) %}
        {% if subitems %}
        <li>
            {% block subitem_navigation %}
            {{ utils.render_subitem_navigation(item_name, False, subitems=subitems) }}
            {% endblock %}
        </li>
        {% endif %}
    </ul>
{% endblock %}

{% block options_for_javascript %}
{%- if item_name and user.edit_on_doubleclick and user.may.write(item_name) -%}
    <br id="moin-edit-on-doubleclick" />
{%- endif %}
{%- if user.show_comments -%}
    <br id="moin-show-comments" />
{%- endif %}
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.