From 3d2aa5e5e87953faa3983fc5ebefde5b6b9f28f9 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 20 Dec 2017 11:38:02 -0500 Subject: [PATCH] moving directions and view map link to profile details moving the view map and directions to the event registration profile section --- css/front.css | 5 ++++- views/front/registrations/registration.html | 21 ++++++++------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/css/front.css b/css/front.css index 28a2928..87bc0dd 100644 --- a/css/front.css +++ b/css/front.css @@ -26,10 +26,13 @@ #glm-reg-detail-map-button { height: 35px; padding: 5px 7px; - width: 171px; float: left; + color: #008CBA; border-right: 1px solid white; } +#glm-reg-detail-map-button:hover{ + cursor: pointer; +} #glm-reg-detail-directions-button { height: 35px; padding: 5px 7px; diff --git a/views/front/registrations/registration.html b/views/front/registrations/registration.html index 1364494..16ae872 100644 --- a/views/front/registrations/registration.html +++ b/views/front/registrations/registration.html @@ -41,34 +41,29 @@ {/if} {if $regEvent.locations.name || $regEvent.locations.address}
- {$regEvent.locations.name} + {$regEvent.locations.name} {if $regEvent.locations.address}
{$regEvent.locations.address} {/if}
{if $regEvent.locations.city.name}{$regEvent.locations.city.name},{/if}{$regEvent.locations.state.name} {$regEvent.locations.zip}
{/if} - - -
-
{if $regEvent.locations.lat && $regEvent.locations.lon} -
+
(map loads here)
-
View Map
-
- - - - -
+
View Map
{/if} +
+
+
+
+ {literal} <% if ( descr ) { %>
<%= descr %>
<% } %> <% if ( terms ) { %>
<%= terms %>
<% } %> -- 2.17.1