diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 8078da87..5e01aa62 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -332,9 +332,7 @@ class ProjectsController < ApplicationController def show # 顶部导航 @project_menu_type = 1 - # 更新消息为已读 - update_message_status(User.current, @project) - # over + if params[:jump] && redirect_to_project_menu_item(@project, params[:jump]) return end diff --git a/app/views/projects/_act_issues.html.erb b/app/views/projects/_act_issues.html.erb index a2b2380a..0bb4d872 100644 --- a/app/views/projects/_act_issues.html.erb +++ b/app/views/projects/_act_issues.html.erb @@ -11,31 +11,7 @@ TO <%= link_to activity.project.name.to_s+" | 项目问题", project_issues_path(activity.project), :class => "color-orange05 ml15"%> - <% if User.current.logged? %> -
- -
- <% end %> +
【<%= get_issue_type_new(activity.tracker_id) %>】 @@ -61,9 +37,6 @@
- <%=render :partial =>"users/intro_content", :locals=>{:user_activity_id => user_activity_id, :content => activity.description} %> - -
<%# 局部刷新:修改xissue属性 %> <% if User.current.member_of?(activity.project) && !activity.nil? && !activity.status.nil? %> @@ -74,15 +47,10 @@ <% end %> <% end %>
-
- <%= render :partial=>"attachments/activity_attach", :locals=>{:activity => activity} %> -
-
- <%= render :partial => 'projects/project_issue_reply', :locals => {:activity => activity, :user_activity_id => user_activity_id} %> -
+