Permalink
Browse files

2 graphs changed position

  • Loading branch information...
1 parent a43c110 commit ef25688becf06991bb02ba997bcd26efe60d0d76 @n3k0rA committed May 1, 2012
@@ -7,7 +7,7 @@
= link_to pic, admin_event_path(event)
%td.list_description
%dl
- %dt= link_to event.title, admin_event_path(event)
+ %dt= link_to (render "layouts/title"), admin_event_path(event)
%dd= l event.start_date, :format => :long
%dd
= event.place
@@ -0,0 +1,15 @@
+
+-if I18n.locale.to_s == "en" && !@event.title_en.empty?
+ =@event.title_en
+-elsif I18n.locale.to_s == "eu" && !@event.title_eu.empty?
+ = @event.title_eu
+-elsif I18n.locale.to_s == "fr" && !@event.title_fr.empty?
+ = @event.title_fr
+-elsif !@event.title_es.empty?
+ =@event.title_es
+-elsif !@event.title_eu.empty?
+ = @event.title_eu
+-elsif !@event.title_fr.empty?
+ =@event.title_fr
+-else
+ = @event.title_en
@@ -2,7 +2,7 @@
%p
%b Name:
= @user.name
-= image_tag @user.pic.url(:medium)
+= image_tag @user.photo.url(:medium)
%br
%p
%b Email:

0 comments on commit ef25688

Please sign in to comment.