Changes for page 学校一覧

Last modified by Super Admin on 2026/03/23 10:15

From version Icon 28.1 Icon
edited by Super Admin
on 2026/03/18 12:01
Change comment: There is no comment for this version
To version Icon 24.1 Icon
edited by Super Admin
on 2026/03/14 15:45
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -79,15 +79,13 @@
79 79   #set($actCount = $schoolDoc.getObjects('SeitokaiCode.ActivityClass').size())
80 80   ## 投稿数をカウント(全活動の投稿合計)
81 81   #set($postCount = $schoolDoc.getObjects('SeitokaiCode.ActivityPostClass').size())
82 - ## 特色ある活動の数とタイトル収集
82 + ## 特色ある活動の数をカウント
83 83   #set($schoolActivities = $schoolDoc.getObjects('SeitokaiCode.ActivityClass'))
84 84   #set($featuredCount = 0)
85 - #set($featuredTitles = [])
86 86   #if($schoolActivities)
87 87   #foreach($sa in $schoolActivities)
88 88   #if($!sa.getValue('featured') == '1')
89 89   #set($featuredCount = $featuredCount + 1)
90 - #set($discard = $featuredTitles.add($!sa.getValue('title')))
91 91   #end
92 92   #end
93 93   #end
... ... @@ -117,12 +117,10 @@
117 117   #if($sCoed) ・ $!escapetool.xml($sCoed)#end
118 118   #if($sSystem && !$sSystem.isEmpty()) ・ #foreach($__sys in $sSystem)#if($foreach.count > 1)・#end$!escapetool.xml($__sys)#end#end
119 119   </div>
120 - ## 特色ある活動タイトル
118 + ## 特色ある活動バッジ
121 121   #if($featuredCount > 0)
122 - <div class="school-card-featured-titles">
123 - #foreach($ft in $featuredTitles)
124 - <span class="featured-title-item"><svg class="ico ico-fixed-12" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg> $!escapetool.xml($ft)</span>
125 - #end
120 + <div class="school-card-featured-wrap">
121 + <span class="badge-featured"><svg class="ico ico-fixed-14" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg> 特色ある活動 ${featuredCount}件</span>
126 126   </div>
127 127   #end
128 128   <div class="school-card-stats">