annotate MoinMoin/templates/ticket/submit.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 a99204e6772d
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 {{ _("Create new ticket") }}
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>{{ _("Describe the ticket") }}</h2>
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
9
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
10 <dl>
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
11 <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
12 {{ 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
13 {{ 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
14 </div>
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
15 </dl>
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 {% endblock %}
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 {% block ticket_metadata %}
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
18
2124
ac48e4c61b8c properly mark <h2>s in ticket/{modify,submit}.html for i18n
Cheer Xiao <xiaqqaix@gmail.com>
parents: 2123
diff changeset
19 <h2>{{ _("Provide metadata") }}</h2>
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
20 <dl>
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
21 {{ forms.render_errors(form) }}
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
22 {{ render_meta() }}
2684
44a288038e11 Removed HTML validation errors from ticket show/modify view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
23 </dl>
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2124
diff changeset
24 {{ _("Suggested Tags: ") }}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2124
diff changeset
25 {% for suggested_tag in suggested_tags %}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2124
diff changeset
26 {{ suggested_tag }}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2124
diff changeset
27 {% endfor %}
2684
44a288038e11 Removed HTML validation errors from ticket show/modify view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
28 <dl>
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2124
diff changeset
29 {{ render_selectlists() }}
2123
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
30 </dl>
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
31
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
32 {{ forms.render_submit(form) }}
6b640b54adde split ticket.html into ticket/{base,submit,modify}.html
Cheer Xiao <xiaqqaix@gmail.com>
parents:
diff changeset
33 {% endblock %}