Changes for page ユーザープロフィール
Last modified by Super Admin on 2026/04/09 10:54
From version
38.1
edited by Super Admin
on 2026/04/09 10:54
on 2026/04/09 10:54
Change comment:
There is no comment for this version
To version
36.1
edited by XWikiGuest
on 2026/03/22 00:37
on 2026/03/22 00:37
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. superadmin1 +XWiki.XWikiGuest - Content
-
... ... @@ -124,18 +124,15 @@ 124 124 #set($profileAlumniSchoolName = $!targetDoc.getValue('alumniSchoolName')) 125 125 #set($pMidCode = '')#set($pMidName = '') 126 126 #set($pHiCode = '')#set($pHiName = '') 127 - #set($pOthCode = '')#set($pOthName = '') 128 128 #if($profileSchoolCode && $profileSchoolCode.length() >= 2) 129 129 #set($pst = $profileSchoolCode.substring(0, 2)) 130 130 #if($pst == 'C1' || $pst == 'C2')#set($pMidCode = $profileSchoolCode)#set($pMidName = $profileSchoolName) 131 - #elseif($pst == 'D1' || $pst == 'D2')#set($pHiCode = $profileSchoolCode)#set($pHiName = $profileSchoolName) 132 - #else#set($pOthCode = $profileSchoolCode)#set($pOthName = $profileSchoolName)#end 130 + #elseif($pst == 'D1' || $pst == 'D2')#set($pHiCode = $profileSchoolCode)#set($pHiName = $profileSchoolName)#end 133 133 #end 134 134 #if($profileSecondarySchoolCode && $profileSecondarySchoolCode.length() >= 2) 135 135 #set($ps2t = $profileSecondarySchoolCode.substring(0, 2)) 136 136 #if($ps2t == 'C1' || $ps2t == 'C2')#set($pMidCode = $profileSecondarySchoolCode)#set($pMidName = $profileSecondarySchoolName) 137 - #elseif($ps2t == 'D1' || $ps2t == 'D2')#set($pHiCode = $profileSecondarySchoolCode)#set($pHiName = $profileSecondarySchoolName) 138 - #else#set($pOthCode = $profileSecondarySchoolCode)#set($pOthName = $profileSecondarySchoolName)#end 135 + #elseif($ps2t == 'D1' || $ps2t == 'D2')#set($pHiCode = $profileSecondarySchoolCode)#set($pHiName = $profileSecondarySchoolName)#end 139 139 #end 140 140 #set($pIsGrad = ($profileUserRole == 'graduate')) 141 141 #if($profileUserRole == 'teacher') ... ... @@ -145,9 +145,8 @@ 145 145 ## 教員の出身校を alumni から復元 146 146 #if($profileAlumniSchoolCode && $profileAlumniSchoolCode.length() >= 2) 147 147 #set($pat = $profileAlumniSchoolCode.substring(0, 2)) 148 - #if(($pat == 'D1' || $pat == 'D2') && $pHiCode == '')#set($pHiCode = $profileAlumniSchoolCode)#set($pHiName = $profileAlumniSchoolName) 149 - #elseif(($pat == 'C1' || $pat == 'C2') && $pMidCode == '')#set($pMidCode = $profileAlumniSchoolCode)#set($pMidName = $profileAlumniSchoolName) 150 - #elseif($pOthCode == '')#set($pOthCode = $profileAlumniSchoolCode)#set($pOthName = $profileAlumniSchoolName)#end 145 + #if(($pat == 'D1' || $pat == 'D2') && $pHiCode == '')#set($pHiCode = $profileAlumniSchoolCode)#set($pHiName = $profileAlumniSchoolName)#end 146 + #if(($pat == 'C1' || $pat == 'C2') && $pMidCode == '')#set($pMidCode = $profileAlumniSchoolCode)#set($pMidName = $profileAlumniSchoolName)#end 151 151 #end 152 152 #end 153 153 #if($pMidCode != '') ... ... @@ -156,9 +156,6 @@ 156 156 #if($pHiCode != '') 157 157 <tr><th>#if($pIsGrad || $profileUserRole == 'teacher')出身高校#else高等学校#end</th><td><a href="/bin/Schools/${pHiCode}/WebHome">$!pHiName</a></td></tr> 158 158 #end 159 - #if($pOthCode != '') 160 - <tr><th>#if($pIsGrad || $profileUserRole == 'teacher')出身校(その他)#elseその他の学校#end</th><td><a href="/bin/Schools/${pOthCode}/WebHome">$!pOthName</a></td></tr> 161 - #end 162 162 ## 学年はプライバシー保護のため公開プロフィールには表示しない 163 163 </table> 164 164 </div>