Skip to content

Commit 22f6599

Browse files
committed
Format
1 parent d1ccc76 commit 22f6599

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

media/commitfest/js/commitfest.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,12 @@ git checkout commitfest/cf/${patchId}
378378
/* Build our button callbacks */
379379
$(document).ready(() => {
380380
// 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-
});
381+
const tooltipTriggerList = [].slice.call(
382+
document.querySelectorAll('[data-bs-toggle="tooltip"]'),
383+
);
384+
const tooltipList = tooltipTriggerList.map(
385+
(tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl),
386+
);
385387

386388
$("button.attachThreadButton").each((i, o) => {
387389
const b = $(o);

pgcommitfest/commitfest/templates/home.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
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 %}
129129
<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%}
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%}
133133
</th>
134134
{%endif%}
135135
<th>Status</th>

0 commit comments

Comments
 (0)