Changes for page 学校ページ テンプレート
Last modified by Super Admin on 2026/04/05 18:59
From version
30.1
edited by Super Admin
on 2026/03/10 13:33
on 2026/03/10 13:33
Change comment:
There is no comment for this version
To 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
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($lastAuthor)) 174 +#set($lastAuthorDoc = $xwiki.getDocument("XWiki.${lastAuthor}")) 175 175 #set($authorAccountType = '') 176 176 #set($authorUserRole = '') 177 177 #set($authorUserStatus = '') ... ... @@ -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>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> 271 271 #end 272 272 </div> 273 273