Skip to content

Commit 074faad

Browse files
Update builds table headers and JS version
Renamed and reordered table headers for clarity, such as changing 'SP?' to 'End Of Support' and 'KB List' to 'KB Ref'. Updated the builds.js script version from v2 to v7.
1 parent c914e6a commit 074faad

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

static/js/builds.js

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,24 @@
1111
order: [[0, 'desc']], // Sort by ID descending (newest first)
1212
dom: '<"datatable-top"B>rt<"datatable-bottom"<"datatable-info"i><"datatable-pagination"p>>', // Custom layout with separate wrappers
1313
buttons: [
14-
'copy',
15-
'excel',
16-
'pdf'
14+
{
15+
extend: 'copy',
16+
exportOptions: {
17+
orthogonal: 'export'
18+
}
19+
},
20+
{
21+
extend: 'excel',
22+
exportOptions: {
23+
orthogonal: 'export'
24+
}
25+
},
26+
{
27+
extend: 'pdf',
28+
exportOptions: {
29+
orthogonal: 'export'
30+
}
31+
}
1732
],
1833
fixedHeader: true, // Enable sticky header
1934
columnDefs: [

themes/dbatools2025/layouts/page/builds.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ <h2 class="text-base font-semibold text-theme-text dark:text-[#ececec]">Build Da
123123
<th>Name</th>
124124
<th>SP</th>
125125
<th>CU</th>
126-
<th>SP?</th>
127-
<th>CU?</th>
128-
<th>Latest SP?</th>
129-
<th>Latest CU?</th>
130-
<th>KB List</th>
131-
<th>Support Until</th>
126+
<th>End Of Support</th>
127+
<th>SP</th>
128+
<th>CU</th>
129+
<th>Latest SP</th>
130+
<th>Latest CU</th>
131+
<th>KB Ref</th>
132132
</tr>
133133
</thead>
134134
<tbody>
@@ -162,6 +162,6 @@ <h2 class="text-base font-semibold text-theme-text dark:text-[#ececec]">Build Da
162162
<script src="https://cdn.datatables.net/fixedheader/4.0.1/js/dataTables.fixedHeader.min.js"></script>
163163

164164
<!-- Page JavaScript -->
165-
<script src="{{ "js/builds.js" | relURL }}?v=2"></script>
165+
<script src="{{ "js/builds.js" | relURL }}?v=8"></script>
166166

167167
{{ end }}

0 commit comments

Comments
 (0)