view MoinMoin/templates/ticket/modify.html @ 2709:b41fae684e47

Moved comments to right and meta-data to left in modify/submit view of tickets and also removed the usage of name in ticket templates, used summary instead of name as heading in ticket modify template
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Thu, 07 Aug 2014 21:01:45 +0530
parents 44a288038e11
children 61c91995f121
line wrap: on
line source
{% extends "ticket/base.html" %}

{% block title_text %}
    {{ _("Ticket: %(summary)s", summary=item.meta['summary']) }}
{% endblock %}

{% block form_controls %}
    <h2>{{ _("Add comment") }}</h2>
    <div class="form-group">
        {{ gen.label(form['message']) }}
        {{ gen.textarea(form['message'], class='form-control') }}
    </div>

{% endblock %}

{% block ticket_metadata %}
    <div class="moin-ticket-metadata">
        <h2>{{ _("Edit metadata") }}</h2>
        <dl>
            {{ forms.render_errors(form) }}
            {{ render_meta() }}
        </dl>
            {{ _("Suggested Tags: ") }}
            {% for suggested_tag in suggested_tags %}
                {{ suggested_tag }}
            {% endfor %}
        <dl>
            {{ render_selectlists() }}
        </dl>

        {{ forms.render(form['submit']) }}
        <h2>{{ _("Back references") }}</h2>
        <dl>
            {{ render_backref() }}
        </dl>
    </div>
{% endblock %}