Changes for page 学校ページ テンプレート
Last modified by Super Admin on 2026/04/05 18:59
From version
43.1
edited by Super Admin
on 2026/03/12 17:54
on 2026/03/12 17:54
Change comment:
There is no comment for this version
To version
44.1
edited by Super Admin
on 2026/03/13 00:18
on 2026/03/13 00:18
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -247,7 +247,7 @@ 247 247 <tr><th>共学・別学</th><td>$!escapetool.xml($!coeducation)</td></tr> 248 248 <tr><th>設置者</th><td>$!escapetool.xml($!establishment)</td></tr> 249 249 <tr><th>学校種</th><td>$!escapetool.xml($!schoolLevel)</td></tr> 250 - <tr><th>課程</th><td>#if($schoolSystem && $schoolSystem !='' &&$schoolSystem!='[]')$!escapetool.xml($!schoolSystem)#end</td></tr>250 + <tr><th>課程</th><td>#if($schoolSystem && !$schoolSystem.isEmpty())#foreach($ss in $schoolSystem)#if($foreach.count > 1) / #end$!escapetool.xml($ss)#end#end</td></tr> 251 251 <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> 252 252 </table> 253 253 #set($infoEditDate = $!doc.getValue('lastInfoEditedDate')) ... ... @@ -305,7 +305,7 @@ 305 305 306 306 ## --- ③④⑤ 日常の活動・選挙・定例活動 --- 307 307 <div class="school-section-grid"> 308 - #if($dailyActivities && $dailyActivities != '')308 + #if($dailyActivities && !$dailyActivities.isEmpty()) 309 309 <div class="school-section-card"> 310 310 <h3><svg class="ico" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg> 日常の活動</h3> 311 311 <div class="card-inner"> ... ... @@ -312,7 +312,7 @@ 312 312 <p class="activity-hint">活動時間の多い順に上位3つ</p> 313 313 <div class="tag-container"> 314 314 #set($daIdx = 1) 315 - #foreach($da in $dailyActivities .split(","))315 + #foreach($da in $dailyActivities) 316 316 <span class="tag tag-accent">${daIdx}. $!escapetool.xml($da.trim())</span> 317 317 #set($daIdx = $daIdx + 1) 318 318 #end ... ... @@ -363,7 +363,7 @@ 363 363 #end 364 364 365 365 ## --- ⑦ 予算 --- 366 - #set($hasBudget = ($budgetProcess && $budgetProcess != '') || ($studentFee && $studentFee != '') || ($budgetScale && $budgetScale != ''))366 + #set($hasBudget = ($budgetProcess && !$budgetProcess.isEmpty()) || ($studentFee && $studentFee != '') || ($budgetScale && $budgetScale != '')) 367 367 #if($hasBudget) 368 368 ## 公開範囲チェック 369 369 #set($canViewBudget = true) ... ... @@ -374,12 +374,12 @@ 374 374 <div class="school-section-card"> 375 375 <h3><svg class="ico" viewBox="0 0 24 24"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6"/></svg> 予算 #if($visibilityBudget != 'public')<span class="visibility-badge visibility-${visibilityBudget}">#if($visibilityBudget == 'members')<svg class="ico" viewBox="0 0 24 24"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/></svg> 登録者限定#else<svg class="ico" viewBox="0 0 24 24"><path d="M2 20h20"/><path d="M5 20V10l7-5 7 5v10"/><path d="M9 20v-5h6v5"/></svg> 校内限定#end</span>#end</h3> 376 376 <div class="card-inner"> 377 - #if($budgetProcess && $budgetProcess != '')377 + #if($budgetProcess && !$budgetProcess.isEmpty()) 378 378 <div class="info-row"> 379 379 <span class="info-label">作成過程の生徒関与</span> 380 380 <span class="info-value"> 381 381 <div class="selection-display"> 382 - #foreach($bp in $budgetProcess .split(","))382 + #foreach($bp in $budgetProcess) 383 383 <span class="selection-item">$!escapetool.xml($bp.trim())</span> 384 384 #end 385 385 </div> ... ... @@ -398,12 +398,12 @@ 398 398 <span class="info-value">$!escapetool.xml($!budgetScale)</span> 399 399 </div> 400 400 #end 401 - #if($budgetAllocation && $budgetAllocation != '')401 + #if($budgetAllocation && !$budgetAllocation.isEmpty()) 402 402 <div class="info-row"> 403 403 <span class="info-label">主な予算配分</span> 404 404 <span class="info-value"> 405 405 <div class="selection-display"> 406 - #foreach($ba in $budgetAllocation .split(","))406 + #foreach($ba in $budgetAllocation) 407 407 <span class="selection-item">$!escapetool.xml($ba.trim())</span> 408 408 #end 409 409 </div> ... ... @@ -436,12 +436,12 @@ 436 436 <span class="info-label">見直しの有無(3年以内)</span> 437 437 <span class="info-value"><span class="tag tag-primary tag-sm">$!escapetool.xml($!ruleReviewStatus)</span></span> 438 438 </div> 439 - #if($ruleReviewContent && $ruleReviewContent != '')439 + #if($ruleReviewContent && !$ruleReviewContent.isEmpty()) 440 440 <div class="info-row"> 441 441 <span class="info-label">見直しの内容</span> 442 442 <span class="info-value"> 443 443 <div class="selection-display"> 444 - #foreach($rc in $ruleReviewContent .split(","))444 + #foreach($rc in $ruleReviewContent) 445 445 <span class="selection-item">$!escapetool.xml($rc.trim())</span> 446 446 #end 447 447 </div> ... ... @@ -448,12 +448,12 @@ 448 448 </span> 449 449 </div> 450 450 #end 451 - #if($ruleReviewProposer && $ruleReviewProposer != '')451 + #if($ruleReviewProposer && !$ruleReviewProposer.isEmpty()) 452 452 <div class="info-row"> 453 453 <span class="info-label">見直しの提案者</span> 454 454 <span class="info-value"> 455 455 <div class="selection-display"> 456 - #foreach($rp in $ruleReviewProposer .split(","))456 + #foreach($rp in $ruleReviewProposer) 457 457 <span class="selection-item">$!escapetool.xml($rp.trim())</span> 458 458 #end 459 459 </div> ... ... @@ -460,12 +460,12 @@ 460 460 </span> 461 461 </div> 462 462 #end 463 - #if($ruleReviewImplementer && $ruleReviewImplementer != '')463 + #if($ruleReviewImplementer && !$ruleReviewImplementer.isEmpty()) 464 464 <div class="info-row"> 465 465 <span class="info-label">見直しの実施者</span> 466 466 <span class="info-value"> 467 467 <div class="selection-display"> 468 - #foreach($ri in $ruleReviewImplementer .split(","))468 + #foreach($ri in $ruleReviewImplementer) 469 469 <span class="selection-item">$!escapetool.xml($ri.trim())</span> 470 470 #end 471 471 </div>