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? %>
-
-
- -
-
- -
- <%= link_to l(:button_edit), edit_issue_path(activity.id), :class => 'postOptionLink', :accesskey => accesskey(:edit) if activity.editable? && User.current.allowed_to?(:edit_issues, activity.project) %>
-
- -
- <% if !defined?(project_id) && !defined?(user_id) %>
- <%= link_to l(:button_delete), issue_path(activity.id), :data => {:confirm => issues_destroy_confirmation_message(activity)}, :method => :delete, :class => 'postOptionLink' if User.current.allowed_to?(:delete_issues, activity.project) %>
- <% elsif defined?(project_id) %>
- <%= link_to l(:button_delete), issue_path(activity.id, :page_classify => "project_page", :page_id => project_id), :data => {:confirm => issues_destroy_confirmation_message(activity)}, :method => :delete, :class => 'postOptionLink' if User.current.allowed_to?(:delete_issues, activity.project) %>
- <% elsif defined?(user_id) %>
- <%= link_to l(:button_delete), issue_path(activity.id, :page_classify => "user_page", :page_id => user_id), :data => {:confirm => issues_destroy_confirmation_message(activity)}, :method => :delete, :class => 'postOptionLink' if User.current.allowed_to?(:delete_issues, activity.project) %>
- <% end %>
-
- -
- <%= link_to l(:button_copy), project_copy_issue_path(activity.project, activity), :class => 'postOptionLink' if User.current.allowed_to?(:add_issues, activity.project) %>
-
-
-
-
-
- <% 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} %>
-
+