From e136254c8d1d2bee9726bc6f282850530c9f00c5 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Fri, 18 Apr 2014 09:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E4=BA=86=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=AD=E7=9A=84=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_projects.html.erb | 2 +- lib/redmine.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index af9ad87eb..1a4ed1b47 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -53,7 +53,7 @@ <% @project = Project.find_by_id(@project.id)%> - +
<%= image_tag(url_to_avatar(@project), :class => 'avatar2') %>
<%= @project.name %> diff --git a/lib/redmine.rb b/lib/redmine.rb index 88d6f73ee..8ecf91cc1 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -279,7 +279,7 @@ end ###new add by linchun Redmine::MenuManager.map :contest_menu do |menu| menu.push :respond, :show_contest_contest_path, :caption => :label_user_response - menu.push :project, :show_project_contest_path, :caption => :label_contest_project + # menu.push :project, :show_project_contest_path, :caption => :label_contest_project menu.push :application, :show_softapplication_contest_path, :caption => :label_contest_application # menu.push :result, { :controller => 'bids', :action => 'show_results' }, # :caption => :label_bidding_results,:if => Proc.new{ |p| User.current.id == p }