diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 9043817e0..6f1a4bb82 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -1,13 +1,14 @@ <% if @project.project_type == 1 %>
<% if User.current.member_of?(@project) %> - <%= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %> + + <%= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) %> <% end %>
<% else %>
- - <%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) %> + <%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %> +
<% end %> diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 7948dbd92..8f010d7de 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -117,7 +117,7 @@
<%= link_to image_tag(url_to_avatar(user), :class => 'avatar'), user_path(user) %> <%= content_tag "span", link_to_user(user), :class => "nomargin avatar_name" %> -
+
<%= l(:label_user_grade) %>: <%= user.user_status.grade %>