comparison sat_templates/templates/default/merge-request/edit.html @ 170:6c251da9a4f3

style improvment
author Goffi <goffi@goffi.org>
date Sat, 19 Jan 2019 11:49:18 +0100
parents e9f0a4215e46
children
comparison
equal deleted inserted replaced
169:4b5ad18f6ece 170:6c251da9a4f3
6 {% import 'input/form.html' as form with context %} 6 {% import 'input/form.html' as form with context %}
7 {% import 'input/field.html' as field with context %} 7 {% import 'input/field.html' as field with context %}
8 {% import 'input/xmlui.html' as xmlui with context %} 8 {% import 'input/xmlui.html' as xmlui with context %}
9 9
10 {% block body %} 10 {% block body %}
11 <div class='instructions'> 11 <div class='instructions instructions--border box box--medium'>
12 <p><span class="box">{% trans app_name=C.APP_NAME%}Note: to modify content of the merge request, you'll have to use command line (with jp){% endtrans %}</span></p> 12 <p>
13 <strong>{% trans %}Note:{% endtrans %}</strong>
14 {% trans app_name=C.APP_NAME%}to modify content of the merge request, you'll have to use command line (with jp){% endtrans %}
15 </p>
13 </div> 16 </div>
14 <div class="create single ticket box"> 17 <div class="create single ticket box box--medium">
15 {% call form.form() %} 18 {% call form.form() %}
16 {{ xmlui.generate(new_ticket_xmlui, 19 {{ xmlui.generate(new_ticket_xmlui,
17 attributes = {'title': {'required': 'required', 20 attributes = {'title': {'required': 'required',
18 'placeholder': _("Short description of your issue/request")}, 21 'placeholder': _("Short description of your issue/request")},
19 'body': {'required': 'required', 22 'body': {'required': 'required',
20 'placeholder': _("Please describe your issue/request with as much details as possible")}, 23 'placeholder': _("Please describe your issue/request with as much details as possible. You can use Markdown syntax.")},
21 'labels': {'placeholder': _("You can enter one or several labels separated by commas")}, 24 'labels': {'placeholder': _("You can enter one or several labels separated by commas")},
22 })}} 25 })}}
23 {{ field.submit(_("Modify ticket")) }} 26 {{ field.submit(_("Modify ticket")) }}
24 {% endcall %} 27 {% endcall %}
25 </div> 28 </div>