diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 8956a95cc..6fac67e33 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -29,7 +29,7 @@ module ApplicationHelper ## added by william include PraiseTreadHelper # add by nyan - include CoursesHelper + # include CoursesHelper extend Forwardable def_delegators :wiki_helper, :wikitoolbar_for, :heads_for_wiki_formatter diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 6f1a4bb82..dc7724e95 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -1,18 +1,17 @@ +
<% if @events_by_day.size >0 %>
<%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %>
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 2eef3f356..8921d63f8 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -3,7 +3,7 @@ <%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>