Changes for page 学校ページ テンプレート
Last modified by Super Admin on 2026/04/05 18:59
From version
76.1
edited by Super Admin
on 2026/03/19 13:11
on 2026/03/19 13:11
Change comment:
There is no comment for this version
To version
80.1
edited by Super Admin
on 2026/03/19 15:50
on 2026/03/19 15:50
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -736,16 +736,18 @@ 736 736 <div class="activity-thread" data-fiscal-year="$!escapetool.xml($actFY)"> 737 737 <div class="activity-thread-header"> 738 738 <div class="activity-thread-title"> 739 - <h3 #if($actFeatured == '1')class="featured-title"#end>$!escapetool.xml($!actTitle) #if($actFeatured == '1')<svg class="ico ico-fixed-14 ico-star-offset" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>#end</h3> 740 - <span class="activity-meta">$!escapetool.xml($!actCommittee) | $!escapetool.xml($!actPeriod) #if($actFY != 'unknown')| $!escapetool.xml($actFY)年度#end</span> 741 - #set($actTagsList = $activity.getValue('tags')) 742 - #if($actTagsList && !$actTagsList.isEmpty()) 743 - #foreach($tagItem in $actTagsList) 744 - #if($tagItem && $tagItem.trim() != '')<span class="activity-tag-badge">$escapetool.xml($tagItem)</span>#end 739 + <h3 #if($actFeatured == '1')class="featured-title"#end>#if($actFeatured == '1')<svg class="ico ico-fixed-14 ico-star-offset" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg> #end$!escapetool.xml($!actTitle)</h3> 740 + <div class="activity-meta-line"> 741 + <span class="activity-meta">$!escapetool.xml($!actCommittee) | $!escapetool.xml($!actPeriod) #if($actFY != 'unknown')| $!escapetool.xml($actFY)年度#end</span> 742 + #set($actTagsList = $activity.getValue('tags')) 743 + #if($actTagsList && !$actTagsList.isEmpty()) 744 + #foreach($tagItem in $actTagsList) 745 + #if($tagItem && $tagItem.trim() != '')<span class="activity-tag-badge">$escapetool.xml($tagItem)</span>#end 746 + #end 745 745 #end 746 - #end748 + </div> 747 747 </div> 748 - <div class="thread-meta-r ow">750 + <div class="thread-meta-right"> 749 749 <span class="thread-post-count">${reportCount}件の報告 ・ ${commentCount}件のコメント</span> 750 750 #if($viewerAccountType == 'admin' || $viewerAccountType == 'verified' || $viewerAccountType == 'referred') 751 751 #if($actFeatured == '1') ... ... @@ -1038,9 +1038,11 @@ 1038 1038 1039 1039 #if($xcontext.user != "XWiki.XWikiGuest") 1040 1040 <div class="thread-add-post"> 1043 + #if($isSchoolMember || $isViewerAdmin) 1041 1041 <a href="/bin/SeitokaiCode/ActivityPostForm?schoolPage=${doc.fullName}&activityIndex=${actIdx}&schoolCode=$!escapetool.url($schoolCode)&postType=report" class="btn-thread-add"> 1042 1042 + 活動報告を追加 1043 1043 </a> 1047 + #end 1044 1044 <a href="/bin/SeitokaiCode/ActivityPostForm?schoolPage=${doc.fullName}&activityIndex=${actIdx}&schoolCode=$!escapetool.url($schoolCode)&postType=comment" class="btn-thread-comment"> 1045 1045 <svg class="ico" viewBox="0 0 24 24"><path d="M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z"/></svg> コメントを書く 1046 1046 </a>