diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 2774ea4d4..997ff1728 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -42,9 +42,15 @@
<%= link_to("#{e.user.name}", user_path(e.user_id)) %> <%= l(:label_have_feedback) %><%=
link_to("#{e.act.user.name}", user_path(e.user.id)) %><%= l(:label_of_feedback) + l(:label_layouts_feedback) %> |
<% end %>
- <%=textilizable act.notes %>
- <%= link_to(l(:label_goto), user_newfeedback_user_path(e.user_id)) %> |
-
+ |
+ <%= textilizable act.notes %>
+ <%= link_to(l(:label_goto), user_newfeedback_user_path(e.user_id)) %>
+
+ |
+
+
+
+
<%=(l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
@@ -174,9 +180,26 @@
<%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
-
+
|
+<% when 'Contest' %>
+
+ <% if e.user == User.current%>
+ <%= link_to("#{l(:label_i)}", user_path(e.user_id)) %> <%= l(:label_i_new_activity) %> <%= link_to format_activity_title("#{l(:label_contest)}: #{act.name}"), {:controller => 'contests', :action => 'show_contest', :id => act.id} %> |
+ <% else %>
+ <%= link_to(h(e.user), user_path(e.user_id)) %> <%= l(:label_new_activity) %> <%= link_to format_activity_title("#{l(:label_contest)}: #{act.name}"), {:controller => 'contests', :action => 'show_contest', :id => act.id} %> |
+ <% end %>
+
+ <%= h act.description %> |
+
+
+
+ <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+
+ |
+<% else %>
+ <% f=1 %>
<% end %>