Changes for page ユーザープロフィール
Last modified by Super Admin on 2026/03/22 00:39
From version
9.1
edited by Super Admin
on 2026/03/06 21:03
on 2026/03/06 21:03
Change comment:
There is no comment for this version
To version
23.1
edited by Super Admin
on 2026/03/10 22:26
on 2026/03/10 22:26
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -79,7 +79,7 @@ 79 79 #end 80 80 #if($profileUserRole == 'student') 81 81 <span class="badge badge-role-student"><svg class="ico" viewBox="0 0 24 24"><path d="M22 10l-10-5L2 10l10 5 10-5z"/><path d="M6 12v5c0 1.66 2.69 3 6 3s6-1.34 6-3v-5"/></svg> 生徒</span> 82 - #set($profileIsOfficer = $! profileUserDoc.getValue('isOfficer'))82 + #set($profileIsOfficer = $!targetDoc.getValue('isOfficer')) 83 83 #if($profileIsOfficer == 'true') 84 84 <span class="badge badge-role-officer"><svg class="ico" viewBox="0 0 24 24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg> 役員</span> 85 85 #end ... ... @@ -122,7 +122,7 @@ 122 122 </td></tr> 123 123 <tr><th>所属校</th><td> 124 124 #if($profileSchoolCode && $profileSchoolCode != '') 125 - <a href="/ xwiki/bin/view/Schools/${profileSchoolCode}/WebHome">$!profileSchoolName</a>125 + <a href="/bin/Schools/${profileSchoolCode}/WebHome">$!profileSchoolName</a> 126 126 #else 127 127 未公開 128 128 #end ... ... @@ -152,7 +152,7 @@ 152 152 |=ページ|=日時 153 153 #foreach($docName in $results) 154 154 #set($actDoc = $xwiki.getDocument($docName)) 155 -|[[$actDoc.title>>$docName]]|$ xwiki.formatDate($actDoc.date,"yyyy/MM/dd HH:mm")155 +|[[$actDoc.title>>$docName]]|$datetool.format("yyyy/MM/dd HH:mm", $actDoc.date) 156 156 #end 157 157 #else 158 158 //このユーザーの公開投稿はまだありません。//