Skip to content

Commit 9700ae5

Browse files
committed
jinja2: updated style for "Make a copy" and File selector buttons
1 parent 3fc6576 commit 9700ae5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

share/roundup/templates/jinja2/html/issue.item.edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="form-actions">
2626
{{ context.submit(html_kwargs={"class": "btn btn-primary"})|u|safe }}
2727
{% if context.id %}
28-
<a href='{{ context.copy_url() }}'>{% trans %}Make a copy{% endtrans %}</a>
28+
<a class="btn btn-outline-primary" href="{{ context.copy_url() }}">{% trans %}Make a copy{% endtrans %}</a>
2929
{% endif %}
3030
</div>
3131
<input type="hidden" name="@template" value="item">

share/roundup/templates/jinja2/html/layout/edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<label class="col-form-label" for="{{ id }}">{{ i18n.gettext(text)|u|safe }}</label>
2525
</dt>
2626
<dd class="col col-8 col-md-9 col-lg-8">
27-
<input class="form-control" name="{{ name }}" id="{{ id }}" type="file" {%- if required %}required="required"{% endif %} />
27+
<input class="form-control btn btn-sm btn-outline-secondary" name="{{ name }}" id="{{ id }}" type="file" {%- if required %}required="required"{% endif %} />
2828
</dd>
2929
</div>
3030
{% endmacro -%}

0 commit comments

Comments
 (0)