Kalender überarbeitet Issue 91
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="contentbox">
|
||||
<%= image_tag("/icon_kalender_small.png") %>
|
||||
<%= image_tag("/calendar-day-icon-small.png") %>
|
||||
<% if calentry.start.to_date == calentry.ende.to_date
|
||||
format=:timeonly
|
||||
else
|
||||
format =:default
|
||||
end%>
|
||||
<%= link_to I18n.l(calentry.start) +" bis "+ I18n.l(calentry.ende,:format=>format), calendar_path(calentry.calendar) %>
|
||||
<%= link_to I18n.l(calentry.start) +" bis "+ I18n.l(calentry.ende,:format=>format), calentry_path(calentry) %>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<%= f.input :calendars, :as=> :radio %>
|
||||
<%= f.input :calendar, :as=> :radio %>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<%= f.input :typ %>
|
||||
|
||||
Reference in New Issue
Block a user