parent
725866a23d
commit
6c9f5136c0
|
@ -188,9 +188,9 @@ class UsersController < ApplicationController
|
||||||
for user in @watcher
|
for user in @watcher
|
||||||
events << Redmine::Activity::Fetcher.new(User.current, :author => @user).events(nil, nil, :limit => 30)
|
events << Redmine::Activity::Fetcher.new(User.current, :author => @user).events(nil, nil, :limit => 30)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@events_by_day = events.group_by(&:event_date)
|
@events_by_day = events.group_by(&:event_date)
|
||||||
|
|
||||||
unless User.current.admin?
|
unless User.current.admin?
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
<td>
|
<td>
|
||||||
<%=link_to l(:field_homepage), home_path %> >
|
<%=link_to l(:field_homepage), home_path %> >
|
||||||
<a href="http://<%= Setting.host_contest %>" class="link_other_item">
|
<a href="http://<%= Setting.host_contest %>" class="link_other_item">
|
||||||
<%=l(:label_courses_management_platform)%>
|
<%=l(:label_contests_management_platform)%>
|
||||||
</a> >
|
</a> >
|
||||||
<span title="<%= @contest.name%>">
|
<span title="<%= @contest.name%>">
|
||||||
<%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %>
|
<%= link_to h(truncate(@contest.name, length: 20, omission: '...')), show_contest_contest_path(@contest) %>
|
||||||
|
|
Loading…
Reference in New Issue