回复了项目页面中的头像

This commit is contained in:
wanglinchun 2014-04-18 09:28:44 +08:00
parent abef68d13a
commit e136254c8d
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
<% @project = Project.find_by_id(@project.id)%> <% @project = Project.find_by_id(@project.id)%>
<table> <table>
<tr> <tr>
<td><%= image_tag(url_to_avatar(@project), :class => 'avatar2') %></td>
<td> <td>
<div class="info-course"> <div class="info-course">
<%= @project.name %> <%= @project.name %>

View File

@ -279,7 +279,7 @@ end
###new add by linchun ###new add by linchun
Redmine::MenuManager.map :contest_menu do |menu| Redmine::MenuManager.map :contest_menu do |menu|
menu.push :respond, :show_contest_contest_path, :caption => :label_user_response 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 :application, :show_softapplication_contest_path, :caption => :label_contest_application
# menu.push :result, { :controller => 'bids', :action => 'show_results' }, # menu.push :result, { :controller => 'bids', :action => 'show_results' },
# :caption => :label_bidding_results,:if => Proc.new{ |p| User.current.id == p } # :caption => :label_bidding_results,:if => Proc.new{ |p| User.current.id == p }