annotate 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
rev   line source
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
1 {% extends "ticket/base.html" %}
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
2
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
3 {% block title_text %}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
4 {{ _("Ticket: %(summary)s", summary=item.meta['summary']) }}
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
5 {% endblock %}
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
6
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
7 {% block form_controls %}
2124
ac48e4c61b8c properly mark <h2>s in ticket/{modify,submit}.html for i18n
Cheer Xiao <xiaqqaix@gmail.com>
parents: 2123
diff changeset
8 <h2>{{ _("Add comment") }}</h2>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
9 <div class="form-group">
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
10 {{ gen.label(form['message']) }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
11 {{ gen.textarea(form['message'], class='form-control') }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
12 </div>
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
13
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
14 {% endblock %}
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
15
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
16 {% block ticket_metadata %}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
17 <div class="moin-ticket-metadata">
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
18 <h2>{{ _("Edit metadata") }}</h2>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
19 <dl>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
20 {{ forms.render_errors(form) }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
21 {{ render_meta() }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
22 </dl>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
23 {{ _("Suggested Tags: ") }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
24 {% for suggested_tag in suggested_tags %}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
25 {{ suggested_tag }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
26 {% endfor %}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
27 <dl>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
28 {{ render_selectlists() }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
29 </dl>
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
30
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
31 {{ forms.render(form['submit']) }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
32 <h2>{{ _("Back references") }}</h2>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
33 <dl>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
34 {{ render_backref() }}
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
35 </dl>
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
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2684
diff changeset
36 </div>
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
37 {% endblock %}