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

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

Summary

Details

Icon Page properties
Content
... ... @@ -88,6 +88,9 @@
88 88   #elseif($profileUserRole == 'graduate')
89 89   <span class="badge badge-role-graduate"><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>
90 90   #end
91 + #if($profileGrade && $profileGrade != '')
92 + <span class="badge badge-grade">$profileGrade</span>
93 + #end
91 91   #if($profileUserStatus == 'graduated')
92 92   <span class="badge badge-status-graduated"><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>
93 93   #elseif($profileUserStatus == 'on_leave')
... ... @@ -141,7 +141,7 @@
141 141  == このユーザーの投稿・編集履歴 ==
142 142  
143 143  {{velocity}}
144 -#set($query = $services.query.xwql("where doc.author = :author order by doc.date desc").bindValue('author', $targetUser))
147 +#set($query = $services.query.xwql("where doc.author = '${targetUser}' order by doc.date desc"))
145 145  #set($query = $query.setLimit(20))
146 146  #set($results = $query.execute())
147 147  
... ... @@ -149,7 +149,7 @@
149 149  |=ページ|=日時
150 150  #foreach($docName in $results)
151 151   #set($actDoc = $xwiki.getDocument($docName))
152 -|[[$actDoc.title>>$docName]]|$datetool.format("yyyy/MM/dd HH:mm", $actDoc.date)
155 +|[[$actDoc.title>>$docName]]|$xwiki.formatDate($actDoc.date, "yyyy/MM/dd HH:mm")
153 153  #end
154 154  #else
155 155  //このユーザーの公開投稿はまだありません。//