Last modified by Super Admin on 2026/03/22 00:39

From version Icon 28.1 Icon
edited by XWikiGuest
on 2026/03/18 03:51
Change comment: There is no comment for this version
To version Icon 31.1 Icon
edited by Super Admin
on 2026/03/18 23:33
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +XWiki.superadmin
Content
... ... @@ -117,7 +117,7 @@
117 117   #elseif($profileUserRole == 'graduate')卒業生
118 118   #else$!profileUserRole#end
119 119   </td></tr>
120 - <tr><th>所属校</th><td>
120 + <tr><th>#if($profileUserRole == 'graduate')母校#else所属校#end</th><td>
121 121   #if($profileSchoolCode && $profileSchoolCode != '')
122 122   <a href="/bin/Schools/${profileSchoolCode}/WebHome">$!profileSchoolName</a>
123 123   #else
... ... @@ -124,12 +124,25 @@
124 124   未公開
125 125   #end
126 126   </td></tr>
127 + #set($profileSecondarySchoolCode = $!targetDoc.getValue('secondarySchoolCode'))
128 + #set($profileSecondarySchoolName = $!targetDoc.getValue('secondarySchoolName'))
129 + #if($profileSecondarySchoolCode && $profileSecondarySchoolCode != '')
130 + <tr><th>第2所属校</th><td>
131 + <a href="/bin/Schools/${profileSecondarySchoolCode}/WebHome">$!profileSecondarySchoolName</a>
132 + </td></tr>
133 + #end
134 + #set($profileAlumniSchoolCode = $!targetDoc.getValue('alumniSchoolCode'))
135 + #set($profileAlumniSchoolName = $!targetDoc.getValue('alumniSchoolName'))
136 + #if($profileAlumniSchoolCode && $profileAlumniSchoolCode != '' && $profileAlumniSchoolCode != $profileSchoolCode)
137 + <tr><th>出身校</th><td>
138 + <a href="/bin/Schools/${profileAlumniSchoolCode}/WebHome">$!profileAlumniSchoolName</a>
139 + </td></tr>
140 + #end
127 127   ## 学年はプライバシー保護のため公開プロフィールには表示しない
128 128   <tr><th>在籍状態</th><td>
129 129   #if($profileUserStatus == 'active')在籍中
130 130   #elseif($profileUserStatus == 'graduated')卒業済み
131 131   #elseif($profileUserStatus == 'on_leave')休学中
132 - #elseif($profileUserStatus == 'transferred')転校済み
133 133   #else$!profileUserStatus#end
134 134   </td></tr>
135 135   </table>
... ... @@ -136,24 +136,6 @@
136 136  </div>
137 137  {{/html}}
138 138  
139 -== このユーザーの投稿・編集履歴 ==
140 -
141 -{{velocity}}
142 -#set($query = $services.query.xwql("where doc.author = :author order by doc.date desc").bindValue('author', $targetUser))
143 -#set($query = $query.setLimit(20))
144 -#set($results = $query.execute())
145 -
146 -#if($results.size() > 0)
147 -|=ページ|=日時
148 -#foreach($docName in $results)
149 - #set($actDoc = $xwiki.getDocument($docName))
150 -|[[$actDoc.title>>$docName]]|$datetool.format("yyyy/MM/dd HH:mm", $actDoc.date)
151 -#end
152 -#else
153 -//このユーザーの公開投稿はまだありません。//
154 -#end
155 -{{/velocity}}
156 -
157 157  {{html clean="false"}}
158 158  <div class="info-note info-note-lg" style="margin-top:24px;text-align:center;">
159 159   <svg class="ico" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><line x1="12" y1="16" x2="12" y2="12"/><line x1="12" y1="8" x2="12.01" y2="8"/></svg> 本名・メールアドレス・警告状態などの個人情報は非公開です