Last modified by Super Admin on 2026/04/05 18:59

From version Icon 115.1 Icon
edited by Super Admin
on 2026/03/27 05:08
Change comment: There is no comment for this version
To version Icon 118.1 Icon
edited by Super Admin
on 2026/04/01 17:36
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -387,7 +387,7 @@
387 387  #end
388 388  #if($canEditSchool)
389 389  <div style="text-align:right; margin-bottom:12px;">
390 - <a href="$doc.getURL('view', 'sheet=SeitokaiCode.SchoolEditForm')" class="btn-school-edit"><svg class="ico" viewBox="0 0 24 24"><path d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg> 基本情報を編集</a>
390 + <a href="$doc.getURL('view', 'sheet=SeitokaiCode.SchoolEditForm')" class="btn-school-edit"><svg class="ico" viewBox="0 0 24 24"><path d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg> 情報を編集</a>
391 391  </div>
392 392  #end
393 393  
... ... @@ -1054,7 +1054,10 @@
1054 1054  #set($fyNums = [])
1055 1055  #foreach($fy in $fySet)
1056 1056   #if($fy && $fy != '' && $fy != 'unknown')
1057 - #set($discard = $fyNums.add($fy))
1057 + #set($fyInt = $mathtool.toInteger($fy))
1058 + #if($fyInt)
1059 + #set($discard = $fyNums.add($fyInt))
1060 + #end
1058 1058   #end
1059 1059  #end
1060 1060  ## 最大値を順番に取り出して降順リストを構築(最大20年度まで対応)
... ... @@ -1615,7 +1615,7 @@
1615 1615  }
1616 1616  // ページ読み込み時の初期化
1617 1617  document.addEventListener('DOMContentLoaded', function() {
1618 - // 年度タブを降順にソート(「全期間」タブは末尾に固定)
1621 + // 年度タブを降順にソート(「全期間」タブは先頭に固定)
1619 1619   var tabContainer = document.querySelector('.activity-fy-tabs');
1620 1620   if (tabContainer) {
1621 1621   var tabs = Array.from(tabContainer.querySelectorAll('.activity-fy-tab'));
... ... @@ -1632,9 +1632,9 @@
1632 1632   var bYear = parseInt(b.textContent) || 0;
1633 1633   return bYear - aYear;
1634 1634   });
1635 - // DOM再配置
1636 - fyTabs.forEach(function(t) { tabContainer.appendChild(t); });
1638 + // DOM再配置(全期間を先頭、年度タブを降順で続ける)
1637 1637   if (allTab) { tabContainer.appendChild(allTab); }
1640 + fyTabs.forEach(function(t) { tabContainer.appendChild(t); });
1638 1638   }
1639 1639   // デフォルトで全期間を表示
1640 1640   var defaultTab = document.querySelector('.activity-fy-tab.active');