Using memb_info_location setting to hide the address instead of just the location...
authorLaury GvR <laury@gaslightmedia.com>
Mon, 17 Apr 2017 19:04:48 +0000 (15:04 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 17 Apr 2017 19:04:48 +0000 (15:04 -0400)
css/admin.css
views/admin/member/memberInfo/editProfile.html
views/admin/member/memberInfo/editProfileAddress.html

index ba73408..437e499 100644 (file)
@@ -247,7 +247,7 @@ input, select, .button {
     border: 2px #ddd solid;
     border-collapse: collapse;
 }
-.glm-admin-table thead th{
+.glm-admin-table thead th {
     font-size: 15px;
     font-weight: bold;
 }
index 8d68726..cee532e 100644 (file)
@@ -6,6 +6,7 @@
                 </div>
             </div>
             <div class="glm-row">
+                {if $settings.memb_info_location}
                 <div class="glm-small-12 glm-medium-6 glm-left">
                     <div class="glm-row">
                         <div class="glm-small-12">
@@ -17,6 +18,7 @@
                         </div>
                     </div>
                 </div>
+                {/if}
                 <div class="glm-small-12 glm-medium-6 glm-left">
                     <div class="glm-row">
                         {if $settings.memb_info_contact}
index b433d6b..3085a16 100644 (file)
                                 {if $memberInfo.fieldFail.country}<p>{$memberInfo.fieldFail.country}</p>{/if}
                             </div>
                         </div>
-                        {if $settings.memb_info_location}
                         <div class="glm-row">
                             {if $memberInfo.fieldRequired.lat}<h4 class="emRequiredInputField">{else}<h4>{/if}Location:</h4>
                             <div class="glm-small-12">
                                 </p>
                             </div>
                         </div>
-                        {/if}
                     </div>
                 </div>
\ No newline at end of file