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

From version Icon 32.1 Icon
edited by Super Admin
on 2026/03/19 16:01
Change comment: There is no comment for this version
To version Icon 25.1 Icon
edited by Super Admin
on 2026/03/13 16:19
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -102,7 +102,7 @@
102 102  
103 103  {{html clean="false"}}
104 104  <div class="school-info-card">
105 - <h2><span><svg class="ico" viewBox="0 0 24 24"><path d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2"/><circle cx="12" cy="7" r="4"/></svg> 公開情報</span></h2>
105 + <h2><svg class="ico" viewBox="0 0 24 24"><path d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2"/><circle cx="12" cy="7" r="4"/></svg> 公開情報</h2>
106 106   <table class="wiki-table school-info-table">
107 107   <tr><th>表示名</th><td><strong>$profileDisplayName</strong></td></tr>
108 108   <tr><th>アカウント種別</th><td>
... ... @@ -117,7 +117,7 @@
117 117   #elseif($profileUserRole == 'graduate')卒業生
118 118   #else$!profileUserRole#end
119 119   </td></tr>
120 - <tr><th>#if($profileUserRole == 'graduate')母校#else所属校#end</th><td>
120 + <tr><th>所属校</th><td>
121 121   #if($profileSchoolCode && $profileSchoolCode != '')
122 122   <a href="/bin/Schools/${profileSchoolCode}/WebHome">$!profileSchoolName</a>
123 123   #else
... ... @@ -124,25 +124,38 @@
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>
127 + #if($profileUserRole == 'student' && $profileGrade != '')
128 + <tr><th>学年</th><td>$profileGrade</td></tr>
133 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>
130 + <tr><th>在籍状態</th><td>
131 + #if($profileUserStatus == 'active')在籍中
132 + #elseif($profileUserStatus == 'graduated')卒業済み
133 + #elseif($profileUserStatus == 'on_leave')休学中
134 + #elseif($profileUserStatus == 'transferred')転校済み
135 + #else$!profileUserStatus#end
139 139   </td></tr>
140 - #end
141 - ## 学年はプライバシー保護のため公開プロフィールには表示しない
142 142   </table>
143 143  </div>
144 144  {{/html}}
145 145  
141 +== このユーザーの投稿・編集履歴 ==
142 +
143 +{{velocity}}
144 +#set($query = $services.query.xwql("where doc.author = :author order by doc.date desc").bindValue('author', $targetUser))
145 +#set($query = $query.setLimit(20))
146 +#set($results = $query.execute())
147 +
148 +#if($results.size() > 0)
149 +|=ページ|=日時
150 +#foreach($docName in $results)
151 + #set($actDoc = $xwiki.getDocument($docName))
152 +|[[$actDoc.title>>$docName]]|$datetool.format("yyyy/MM/dd HH:mm", $actDoc.date)
153 +#end
154 +#else
155 +//このユーザーの公開投稿はまだありません。//
156 +#end
157 +{{/velocity}}
158 +
146 146  {{html clean="false"}}
147 147  <div class="info-note info-note-lg" style="margin-top:24px;text-align:center;">
148 148   <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> 本名・メールアドレス・警告状態などの個人情報は非公開です