From: Steve Sutton Date: Tue, 15 Jan 2019 19:05:04 +0000 (-0500) Subject: Hide text for image if michigan_org_requirements set X-Git-Tag: v1.7.16^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4aedf232df5f8053d40743958eaa786a29cd8f65;p=WP-Plugins%2Fglm-member-db-events.git Hide text for image if michigan_org_requirements set If the Michgigan.org requirement flag is set then don't show the text message next to the image upload button on members who are lockedToMembers. --- diff --git a/views/admin/events/editStatus.html b/views/admin/events/editStatus.html index bcdcb01..a94ca4c 100644 --- a/views/admin/events/editStatus.html +++ b/views/admin/events/editStatus.html @@ -263,12 +263,15 @@ {/if} {if $event.fieldFail.image}

{$event.fieldFail.image}

{/if} + {if $lockedToMember && $settings.michigan_org_requirements} + {else}

Best image size to provide is between 800 and 1000 pixels wide and stored as a JPG or JPEG file. Also try to supply images that have a reasonable "aspect ratio" (not too tall, not too wide). Files provided like this should have a file size of 100 to 250 KB. Images will be automatically resized for use in the Web site. Images that are too large will be rejected.

+ {/if}