Changes for page 学校ページ テンプレート
Last modified by Super Admin on 2026/04/05 18:59
From version
25.1
edited by Super Admin
on 2026/03/09 12:37
on 2026/03/09 12:37
Change comment:
There is no comment for this version
To version
22.1
edited by XWikiGuest
on 2026/03/09 11:57
on 2026/03/09 11:57
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. superadmin1 +XWiki.XWikiGuest - Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 ## メンテナンスバナー 6 6 {{include reference="SeitokaiCode.MaintenanceBannerInclude" /}} 7 - {{html clean="false"}}7 + 8 8 ## --- 学校基本情報フィールド --- 9 9 #set($schoolCode = $doc.getValue('schoolCode')) 10 10 #set($schoolName = $doc.getValue('schoolName')) ... ... @@ -174,8 +174,7 @@ 174 174 #set($authorEnrollmentYear = $!lastAuthorDoc.getValue('enrollmentYear')) 175 175 #set($authorDisplayName = $!lastAuthorDoc.getValue('displayName')) 176 176 #if(!$authorDisplayName || $authorDisplayName == '') 177 - ## false引数でプレーンテキスト(HTMLリンクなし)を取得 178 - #set($authorDisplayName = $xwiki.getUserName($doc.author, false)) 177 + #set($authorDisplayName = $xwiki.getUserName($doc.author)) 179 179 #end 180 180 ## --- 学年の動的計算(学校種別対応) --- 181 181 ## 日本の学校年度: 4月始まり。currentSchoolYear = (月>=4) ? 今年 : 去年 ... ... @@ -214,6 +214,7 @@ 214 214 #end 215 215 216 216 ## --- 信頼性バッジ + ユーザー情報 --- 216 +{{html clean="false"}} 217 217 <div class="seitokai-badge-container"> 218 218 ## 承認バッジ 219 219 #if($authorAccountType == 'admin') ... ... @@ -251,7 +251,10 @@ 251 251 #end 252 252 <span class="badge-info">最終編集: $!escapetool.xml($authorDisplayName) ($xwiki.formatDate($doc.date, "yyyy/MM/dd"))</span> 253 253 </div> 254 +{{/html}} 254 254 256 +{{html clean="false"}} 257 + 255 255 ## --- ① 学校基本情報 + 連絡先(左右グリッド・折りたたみ対応) --- 256 256 <div class="school-info-grid"> 257 257 <div class="school-info-card mobile-collapse" id="card-basic-info"> ... ... @@ -264,7 +264,7 @@ 264 264 <tr><th>共学・別学</th><td>$!escapetool.xml($!coeducation)</td></tr> 265 265 <tr><th>設置者</th><td>$!escapetool.xml($!establishment)</td></tr> 266 266 <tr><th>学校種</th><td>$!escapetool.xml($!schoolLevel)</td></tr> 267 - <tr><th>課程</th><td> #if($schoolSystem && $schoolSystem!= '' && $schoolSystem != '[]')$!escapetool.xml($!schoolSystem)#end</td></tr>270 + <tr><th>課程</th><td>$!escapetool.xml($!schoolSystem)</td></tr> 268 268 <tr><th>公式サイト</th><td>#if($website && $website != '')<a href="$!escapetool.xml($website)" target="_blank" rel="noopener">$!escapetool.xml($website)</a>#else<span class="text-placeholder">未登録</span>#end</td></tr> 269 269 </table> 270 270 #set($infoEditDate = $!doc.getValue('lastInfoEditedDate'))