0 Votes

Changes for page Nonwhite Privilege

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

From version 103.1
edited by Ryan C
on 2025/05/03 15:55
Change comment: Upload new image "lick_here_view_wed_uiowsc_department_transportation_office_civil_rights.jpg", version 1.1
To version 121.1
edited by Ryan C
on 2025/05/03 16:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -93,9 +93,26 @@
93 93  
94 94  == Images and Videos ==
95 95  
96 -{{gallery}}
97 -
98 -{{/gallery}}
96 +{{velocity}}
97 +#set($attachments = $doc.getAttachmentList())
98 +#if($attachments.size() > 0)
99 +<div style="display: flex; flex-wrap: wrap; gap: 10px;">
100 +#foreach($attachment in $attachments)
101 + #set($filename = $attachment.getFilename())
102 + #set($ext = $stringtool.substringAfterLast($filename, "."))
103 + #if($ext.equalsIgnoreCase("jpg") || $ext.equalsIgnoreCase("jpeg") || $ext.equalsIgnoreCase("png") || $ext.equalsIgnoreCase("webp"))
104 + <div style="flex: 1 1 300px; max-width: 300px;">
105 + <img src="$xwiki.getDocument($doc.fullName).getAttachmentURL($filename, true)"
106 + alt="$filename"
107 + style="max-width: 100%; height: auto; border: 1px solid #444;"/>
108 + </div>
109 + #end
110 +#end
111 +</div>
112 +#end
113 +{{/velocity}}
99 99  
100 100  
116 +
117 +
101 101  {{putFootnotes/}}
NAACP wants killers freed[10_ before_ brooks_ dropped_ image_ images_ madison].jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +33.9 KB
Content
livetv_families_buy_nearly_acres_land_georgia_create_city_safe_1.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +781.9 KB
Content
medium_help_nonwhite_highschool_students_oregon_governor_removes_reading_writing.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +75.4 KB
Content
members_notice_unity_swimming_lessons_wednesdays_7pm_the_following_dates.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +68.8 KB
Content
menu_the_conversation_sign_blackaffirming_academic_community_spaces_are_designed.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +120.9 KB
Content
minority small owned business certification.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +33.9 KB
Content
the_elderly_essential_workers_who_should_get_the_coronavirus_vaccine.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +33.9 KB
Content