Changes for page Nonwhite Privilege
Summary
-
- NAACP wants killers freed[10_ before_ brooks_ dropped_ image_ images_ madison].jpg
- members_notice_unity_swimming_lessons_wednesdays_7pm_the_following_dates.jpg
- menu_the_conversation_sign_blackaffirming_academic_community_spaces_are_designed.jpg
- minority small owned business certification.jpg
- the_elderly_essential_workers_who_should_get_the_coronavirus_vaccine.jpg
Details
- Page properties
-
- Content
-
... ... @@ -93,9 +93,25 @@ 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.getURL($doc.fullName, 'download', "filename=$escapetool.url($filename)")" 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 + 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
- 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