Hide text for image if michigan_org_requirements set
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 15 Jan 2019 19:05:04 +0000 (14:05 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 15 Jan 2019 19:06:40 +0000 (14:06 -0500)
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.

views/admin/events/editStatus.html

index bcdcb01..a94ca4c 100644 (file)
                     {/if}
                 </div>
                 {if $event.fieldFail.image}<p>{$event.fieldFail.image}</p>{/if}
+                {if $lockedToMember && $settings.michigan_org_requirements}
+                {else}
                 <p>
                     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.
                 </p>
+                {/if}
             </td>
         </tr>
         <tr>