Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added more info link and image to eventful logo if image isnt present

  • Loading branch information...
commit 7e1979ee458e4a4ad620fc61722a8eaf05eec70d 1 parent 1a57e7e
@pedelman pedelman authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/views/looking_glass/tile.haml
View
3  lib/views/looking_glass/tile.haml
@@ -4,6 +4,8 @@
.marketing
-if map[:eventful_event]["image"]
%img{src: "#{map[:eventful_event]["image"]["medium"]["url"]}"}
+ -else
+ %img{:src => "http://www.seeklogo.com/images/E/Eventful-logo-986CB6CAFC-seeklogo.com.gif"}
.row
%h1.window-pane= map[:eventful_event]["title"]
.row
@@ -13,6 +15,7 @@
.row
#event-btns.btn-group
%span.open-event-btn{href: ""}
+ %a{:target => "_blank",:href => "http://eventful.com/events/#{map[:eventful_event]["id"]}"} More Info
-else
%div{class: "element #{map[:category]}", id: "element-#{map[:id]}", "data-symbol".to_sym => "#{map[:id]}", "data-category".to_sym => "#{map[:category]}", rel: "tooltip", "data-original-title".to_sym => "#{map[:user_name]}"}
.container
Please sign in to comment.
Something went wrong with that request. Please try again.