File tree Expand file tree Collapse file tree 7 files changed +2090
-8
lines changed
pgcommitfest/commitfest/templates Expand file tree Collapse file tree 7 files changed +2090
-8
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -377,6 +377,12 @@ git checkout commitfest/cf/${patchId}
377377
378378/* Build our button callbacks */
379379$ ( document ) . ready ( ( ) => {
380+ // Initialize Bootstrap tooltips
381+ var tooltipTriggerList = [ ] . slice . call ( document . querySelectorAll ( '[data-bs-toggle="tooltip"]' ) ) ;
382+ var tooltipList = tooltipTriggerList . map ( function ( tooltipTriggerEl ) {
383+ return new bootstrap . Tooltip ( tooltipTriggerEl ) ;
384+ } ) ;
385+
380386 $ ( "button.attachThreadButton" ) . each ( ( i , o ) => {
381387 const b = $ ( o ) ;
382388 b . click ( ( ) => {
Original file line number Diff line number Diff line change 55 < title > {{title|default:'Commitfest' }}</ title >
66 < link rel ="stylesheet " href ="/media/commitfest/css/jquery-ui.css " type ="text/css ">
77 < link rel ="stylesheet " href ="/media/commitfest/css/bootstrap.css " />
8+ < link rel ="stylesheet " href ="/media/commitfest/css/bootstrap-icons.css " />
89 < link rel ="stylesheet " href ="/media/commitfest/css/selectize.bootstrap5.css " />
910 < link rel ="stylesheet " href ="/media/commitfest/css/commitfest.css?{% static_file_param %} " />
1011 < link rel ="shortcut icon " href ="/media/commitfest/favicon.ico " />
Original file line number Diff line number Diff line change @@ -126,7 +126,11 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
126126 < th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(5); "> Patch</ a > {%if sortkey == 5%}< div style ="float:right; "> ↓</ div > {%elif sortkey == -5%}< div style ="float:right; "> ↑</ div > {%endif%}</ th >
127127 < th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(4); "> ID</ a > {%if sortkey == 4%}< div style ="float:right; "> ↓</ div > {%elif sortkey == -4%}< div style ="float:right; "> ↑</ div > {%endif%}</ th >
128128 {%if user.is_authenticated %}
129- < th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(8); "> CF</ a > {%if sortkey == 8%}< div style ="float:right; "> ↓</ div > {%elif sortkey == -8%}< div style ="float:right; "> ↑</ div > {%endif%}</ th >
129+ < th >
130+ < a href ="# " style ="color:#333333; " onclick ="return sortpatches(8); "> CF</ a >
131+ < i class ="bi bi-question-circle text-muted " style ="font-size: 0.8em; margin-left: 3px; " data-bs-toggle ="tooltip " data-bs-placement ="top " data-bs-html ="true " title ="Color coding:<br>Green = In Progress<br>Blue = Open<br>Red = Closed "> </ i >
132+ {%if sortkey == 8%}< div style ="float:right; "> ↓</ div > {%elif sortkey == -8%}< div style ="float:right; "> ↑</ div > {%endif%}
133+ </ th >
130134 {%endif%}
131135 < th > Status</ th >
132136 < th > Tags</ th >
Original file line number Diff line number Diff line change @@ -278,13 +278,6 @@ <h3>Add annotation</h3>
278278
279279{%block morescript%}
280280 < script >
281- $ ( document ) . ready ( function ( ) {
282- // Initialize Bootstrap 5 tooltips instead of jQuery UI
283- var tooltipTriggerList = [ ] . slice . call ( document . querySelectorAll ( 'button[title="Detach this thread"], button[title="Delete this annotation"]' ) ) ;
284- var tooltipList = tooltipTriggerList . map ( function ( tooltipTriggerEl ) {
285- return new bootstrap . Tooltip ( tooltipTriggerEl ) ;
286- } ) ;
287- } ) ;
288281 { % if attachnow % }
289282 $ ( document ) . ready ( function ( ) {
290283 attachThread ( { { cf . id } } , { { patch . id} } , function ( ) {
You can’t perform that action at this time.
0 commit comments