File tree Expand file tree Collapse file tree 4 files changed +21
-20
lines changed
Expand file tree Collapse file tree 4 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 11# Generated by Django 4.2.19 on 2025-05-30 18:09
22
33from django .db import migrations , models
4+
45import pgcommitfest .commitfest .models
56
67
Original file line number Diff line number Diff line change 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 %}
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 ;
You can’t perform that action at this time.
0 commit comments