0 Votes

Changes for page Nonwhite Privilege

Last modified by Ryan C on 2025/08/31 04:21

From version 129.1
edited by Ryan C
on 2025/05/03 17:02
Change comment: There is no comment for this version
To version 117.1
edited by Ryan C
on 2025/05/03 16:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -94,28 +94,19 @@
94 94  == Images and Videos ==
95 95  
96 96  {{velocity}}
97 -#panelheader('Gallery')
98 -
99 99  #set($attachments = $doc.getAttachmentList())
100 -#set($imageCount = 0)
101 101  
102 -#foreach($attachment in $attachments)
103 - #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp"))
104 - #set($imageCount = $imageCount + 1)
105 - #end
99 +#macro(imageentry $filename)
100 +#if($filename.endsWith(".jpg") || $filename.endsWith(".png") || $filename.endsWith(".webp"))
101 + image:$doc.space/$doc.name/WebHome@$escapetool.url($filename)
106 106  #end
107 -
108 -#if($imageCount > 0)
109 - {{gallery}}
110 - #foreach($attachment in $attachments)
111 - #if($attachment.filename.endsWith(".jpg") || $attachment.filename.endsWith(".png") || $attachment.filename.endsWith(".webp"))
112 - image:$attachment.filename
113 - #end
114 - #end
115 - {{/gallery}}
116 116  #end
117 117  
118 -#panelfooter()
105 +{{gallery}}
106 +#foreach($attachment in $attachments)
107 + #imageentry($attachment.filename)
108 +#end
109 +{{/gallery}}
119 119  {{/velocity}}
120 120  
121 121  
backgroundchecks.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.AdminAngriff
Size
... ... @@ -1,1 +1,0 @@
1 -33.9 KB
Content
background checks are racist[100%_ 6441q4_ Black Privilege_ does_ football_ image_ images_ white] - Copy.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +42.8 KB
Content