summaryrefslogtreecommitdiff
path: root/app/views/admin/users/projects.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-03-05 15:45:35 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-03-05 15:45:35 +0200
commit1b54a8cdda14ae5455fe1667ac15420a2f9bf051 (patch)
tree65cb93ccc722a1ccf2fefdb7e8162d6fef7b630a /app/views/admin/users/projects.html.haml
parent86df5c679318ded0a7b2680346841b552eaabd53 (diff)
downloadgitlab-ce-1b54a8cdda14ae5455fe1667ac15420a2f9bf051.tar.gz
Replace deprecated name_with_namespace with full_name in app/views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/users/projects.html.haml')
-rw-r--r--app/views/admin/users/projects.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/users/projects.html.haml b/app/views/admin/users/projects.html.haml
index 4a440f3f6d4..96835ee9af5 100644
--- a/app/views/admin/users/projects.html.haml
+++ b/app/views/admin/users/projects.html.haml
@@ -29,12 +29,12 @@
.panel.panel-default
.panel-heading Joined projects (#{@joined_projects.count})
%ul.well-list
- - @joined_projects.sort_by(&:name_with_namespace).each do |project|
+ - @joined_projects.sort_by(&:full_name).each do |project|
- member = project.team.find_member(@user.id)
%li.project_member
.list-item-name
= link_to admin_project_path(project), class: dom_class(project) do
- = project.name_with_namespace
+ = project.full_name
- if member
.pull-right