Skip to content

Commit b86c4d1

Browse files
committed
Run make fix
1 parent 415c41a commit b86c4d1

File tree

4 files changed

+21
-20
lines changed

4 files changed

+21
-20
lines changed

pgcommitfest/commitfest/migrations/0011_tag_patch_tags.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Generated by Django 4.2.19 on 2025-05-30 18:09
22

33
from django.db import migrations, models
4+
45
import pgcommitfest.commitfest.models
56

67

pgcommitfest/commitfest/templates/change_tag_form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{% load static %}
33

44
{% block admin_change_form_document_ready %}
5-
{{ block.super }}
6-
<script src="{% static 'commitfest/js/change_tag.js' %}" async></script>
5+
{{ block.super }}
6+
<script src="{% static 'commitfest/js/change_tag.js' %}" async></script>
77
{% endblock %}

pgcommitfest/commitfest/templates/patch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
<tr>
7171
<th>Tags</th>
7272
<td>
73-
{%for tag in patch.tags.all%}
74-
<span class="label" style="background: {{tag|tagcolor}};">{{tag.name}}</span>
75-
{%endfor%}
73+
{%for tag in patch.tags.all%}
74+
<span class="label" style="background: {{tag|tagcolor}};">{{tag.name}}</span>
75+
{%endfor%}
7676
</td>
7777
</tr>
7878
<tr>

pgcommitfest/commitfest/templates/selectize_js.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
valueField: 'id',
66
labelField: 'value',
77
searchField: 'value',
8-
{%if url%}
9-
load: function(query, callback) {
10-
if (!query.length) return callback();
11-
$.ajax({
12-
'url': '{{url}}',
13-
'type': 'GET',
14-
'dataType': 'json',
15-
'data': {
16-
'query': query,
17-
},
18-
'error': function() { callback();},
19-
'success': function(res) { callback(res.values);},
20-
});
21-
},
22-
{%endif%}
8+
{%if url%}
9+
load: function(query, callback) {
10+
if (!query.length) return callback();
11+
$.ajax({
12+
'url': '{{url}}',
13+
'type': 'GET',
14+
'dataType': 'json',
15+
'data': {
16+
'query': query,
17+
},
18+
'error': function() { callback();},
19+
'success': function(res) { callback(res.values);},
20+
});
21+
},
22+
{%endif%}
2323
onFocus: function() {
2424
if (this.$input.is('[multiple]')) {
2525
return;

0 commit comments

Comments
 (0)