diff --git a/app/views/projects/_development_group.html.erb b/app/views/projects/_development_group.html.erb index e3fa3cde1..ad8d9a35a 100644 --- a/app/views/projects/_development_group.html.erb +++ b/app/views/projects/_development_group.html.erb @@ -13,7 +13,7 @@ <% end %> <% if User.current.member_of?(@project) %> - <%= link_to "+"+l(:label_release_issue), new_project_issue_path(@project) , :class => "subnav_green" %> + <%= link_to "", new_project_issue_path(@project) , :class => "publish-icon fr mr10 mt2", :title => "发布问题" %> <% end %> <% end %> @@ -24,7 +24,7 @@ (<%= @project.project_score.board_num %>) <% end %> <% if User.current.member_of?(@project) %> - <%= link_to "+"+l(:project_module_boards_post), project_boards_path(@project, :flag => true), :layout => 'base_projects', :class => "subnav_green ml105" %> + <%= link_to "", project_boards_path(@project, :flag => true), :layout => 'base_projects', :class => "publish-icon fr mr10 mt2", :title => "发布新帖" %> <% end %> <% end%> @@ -36,7 +36,7 @@ <% end %> <% if User.current.member_of?(@project) %> <%#= link_to "+"+l(:label_upload_source), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %> - +上传资源 + <% end %> <% end %> @@ -46,7 +46,7 @@ <%= link_to "Pull Requests", project_pull_requests_path(@project), :class => "f14 c_blue02" %> <%= link_to "(#{pull_request_count(@project)})", project_pull_requests_path(@project), :class => "subnav_num c_orange",:id=>'project_files_count_nav' %> <% if User.current.member_of?(@project) %> - <%= link_to "+新建请求", new_project_pull_request_path(:project_id => @project.id), :class => "subnav_green" %> + <%= link_to "", new_project_pull_request_path(:project_id => @project.id), :class => "publish-icon fr mr10 mt2", :title => "新建请求" %> <% end %> <% end %> diff --git a/public/images/new_project/icons_issue.png b/public/images/new_project/icons_issue.png new file mode 100644 index 000000000..8c09a9ece Binary files /dev/null and b/public/images/new_project/icons_issue.png differ diff --git a/public/stylesheets/css/project.css b/public/stylesheets/css/project.css index d2be2e16c..2fe6cdf16 100644 --- a/public/stylesheets/css/project.css +++ b/public/stylesheets/css/project.css @@ -555,3 +555,7 @@ a:hover.upload_btn_grey{background:#8a8a8a;} .icons_project_star{background: url(/images/syllabus/sy_icons_star.png) 0px -27px no-repeat; width:20px; height:20px; display:block; float:left;} .new_projectlist_more{ text-align:center;} .new_projectlist_more a:hover{ color:#3b94d6;} + +/*发布新样式*/ +.publish-icon {background:url("/images/new_project/icons_issue.png") 0px -82px no-repeat; width:18px; height:18px; display:block;} +.publish-icon:hover {background:url("/images/new_project/icons_issue.png") -25px -82px no-repeat;}