spree_events_list 0.50.01 → 0.50.02
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/events/show.html.erb +3 -3
- data/spree_events_list.gemspec +1 -1
- metadata +2 -2
@@ -4,13 +4,13 @@
|
|
4
4
|
<div><strong> End Date:</strong> <%= Date.parse(@event.end_event.to_s).to_s %></div>
|
5
5
|
</div>
|
6
6
|
<div style="width: 50%;float: left;">
|
7
|
-
|
7
|
+
<% if not @event.start_time.nil? -%>
|
8
8
|
<div><strong>Start Time:</strong> <%= @event.start_time %></div>
|
9
9
|
<% end -%>
|
10
10
|
<div><strong>Venue:</strong> <%= raw @event.venue %></div>
|
11
11
|
<div><strong>Sponsor:</strong> <%= raw @event.sponsor %></div>
|
12
12
|
</div>
|
13
|
-
|
13
|
+
<% if (@event.respond_to?(:image)) and (@event.image.respond_to?(:url))-%>
|
14
14
|
<div style="text-align: center;">
|
15
15
|
<%= image_tag @event.image.url(:large) %>
|
16
16
|
</div>
|
@@ -21,6 +21,6 @@
|
|
21
21
|
<div class="event_description">
|
22
22
|
<%= raw(@event.full_description) %>
|
23
23
|
</div>
|
24
|
-
|
24
|
+
<% if not @event.further_information == "" and not @event.further_information == nil -%>
|
25
25
|
<div><%= link_to "Further Information", @event.further_information %></div>
|
26
26
|
<% end -%>
|
data/spree_events_list.gemspec
CHANGED