diff --git a/app/views/projects/show_projects_score.html.erb b/app/views/projects/show_projects_score.html.erb index 94f3dfaf8..b16f46f91 100644 --- a/app/views/projects/show_projects_score.html.erb +++ b/app/views/projects/show_projects_score.html.erb @@ -1,4 +1,3 @@ - @@ -16,7 +15,7 @@ <%= yield :header_tags -%> - +<% if @project %>

<%= l(:label_projects_score) %>

@@ -54,7 +53,7 @@
  • <%= link_to l(:label_file_score), {:controller => 'projects', :action => 'file_score_index', :remote => true}%> : - <%= format("%.2f" , document_score(@project)).to_i %> + <%= format("%.2f" , documents_score(@project)).to_i %>
  • <%= link_to l(:label_code_submit_score), {:controller => 'projects', :action => 'code_submit_score_index', :remote => true}%> : @@ -69,4 +68,4 @@
    <%= render :partial => 'projects/project_score_index', :locals => {:index => 0 } %>
    - \ No newline at end of file +<% end %> \ No newline at end of file diff --git a/app/views/users/_score_new_index.html.erb b/app/views/users/_score_new_index.html.erb index d0647d8e3..733088067 100644 --- a/app/views/users/_score_new_index.html.erb +++ b/app/views/users/_score_new_index.html.erb @@ -1,5 +1,5 @@ - +<% option_num = get_option_number(@user,1) %>
    <%= l(:label_user_score) %>
    = <%= l(:label_user_score_of_collaboration) %> + <%= l(:label_user_score_of_influence) %> + <%= l(:label_user_score_of_skill)%> + <%= l(:label_user_score_of_active) %>
    @@ -11,4 +11,4 @@ <% else %>
    = <%= format("%.2f" ,option_num.total_score).to_i %>
    <% end %> - +