Changes for page 学校ページ テンプレート
Last modified by Super Admin on 2026/04/05 18:59
From version
29.1
edited by Super Admin
on 2026/03/10 13:11
on 2026/03/10 13:11
Change comment:
There is no comment for this version
To version
31.1
edited by Super Admin
on 2026/03/10 13:42
on 2026/03/10 13:42
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -171,7 +171,7 @@ 171 171 ## --- ユーザー情報取得 --- 172 172 ## displayName: Wiki上の表示名(ニックネーム)。本名(firstName/lastName)は管理者のみ閲覧可能。 173 173 #set($lastAuthor = $doc.author) 174 -#set($lastAuthorDoc = $xwiki.getDocument( "XWiki.${lastAuthor}"))174 +#set($lastAuthorDoc = $xwiki.getDocument($lastAuthor)) 175 175 #set($authorAccountType = '') 176 176 #set($authorUserRole = '') 177 177 #set($authorUserStatus = '') ... ... @@ -260,7 +260,6 @@ 260 260 #elseif($authorUserStatus == 'transferred') 261 261 <span class="badge badge-status-transferred"><svg class="ico" viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"/><polyline points="1 20 1 14 7 14"/><path d="M3.51 9a9 9 0 0114.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0020.49 15"/></svg> 転校済み</span> 262 262 #end 263 - <span class="badge-info">最終編集: $!escapetool.xml($authorDisplayName) ($xwiki.formatDate($doc.date, "yyyy/MM/dd"))</span> 264 264 ## 編集ボタン(権限があるユーザーのみ表示) 265 265 #set($canEditSchool = false) 266 266 #if(!$isGuest && ($isViewerAdmin || $viewerSchoolCode == $schoolCode)) ... ... @@ -267,7 +267,7 @@ 267 267 #set($canEditSchool = true) 268 268 #end 269 269 #if($canEditSchool) 270 - <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>269 + <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> 271 271 #end 272 272 </div> 273 273