修改新建资源库显示

This commit is contained in:
huang 2015-03-11 14:32:29 +08:00
parent aa2a41d368
commit cbfb72bd5b
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<div class="project_r_h"> <div class="project_r_h">
<h2 class="project_h2"><%=l(:label_attachment_new)%></h2> <h2 class="project_h2"><%= l(:label_course_file) %></h2>
</div> </div>
<%= error_messages_for 'attachment' %> <%= error_messages_for 'attachment' %>

View File

@ -112,11 +112,11 @@
<div class="pr_info_score"> <div class="pr_info_score">
<% if @project.project_type == 0 %> <% if @project.project_type == 0 %>
<%= l(:label_project_grade)%> : <%= l(:label_project_grade)%> :
<%= link_to(format("%.2f" ,project_scores(@project) ).to_i, {:controller => 'projects', <%= link_to(format("%.2f" ,project_scores(@project) ).to_i, {:controller => 'projects',
:action => 'show_projects_score', :action => 'show_projects_score',
:remote => true, :remote => true,
:id => @project.id }, :id => @project.id },
:style => "color: #EC6300;")%> :style => "color: #EC6300;") %>
<% end %> <% end %>
</div> </div>
<div class="pr_info_foot"> <div class="pr_info_foot">