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