socialforge/app/views/my/blocks/_calendar.html.erb

7 lines
273 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<h3><%= l(:label_calendar) %></h3>
<% calendar = Redmine::Helpers::Calendar.new(Date.today, current_language, :week)
calendar.events = calendar_items(calendar.startdt, calendar.enddt) %>
<%= render :partial => 'common/calendar', :locals => {:calendar => calendar } %>