diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-09-05 21:14:49 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-09-15 20:27:32 +0300 |
commit | c788c66a85ba4682f5e27a12b5fa73489af23b5f (patch) | |
tree | 4ce769eeaa74868c19522db2ec9aee08d5cb8347 /app/views/admin | |
parent | a8b0d501017ed8ab8656e8cabe5c29ed7e3cbe89 (diff) |
Improved helper methods, better flow for `project.lfs_enabled?`, and UI fixes.
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/groups/show.html.haml | 3 | ||||
-rw-r--r-- | app/views/admin/projects/show.html.haml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml index b8e83075a72..0188ed448ce 100644 --- a/app/views/admin/groups/show.html.haml +++ b/app/views/admin/groups/show.html.haml @@ -40,8 +40,7 @@ %li %span.light Group Git LFS status: %strong - = lfs_status_helper(@group) - = projects_with_lfs_enabled(@group) + = group_lfs_status(@group) = link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs') .panel.panel-default diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index eecc69b125c..6c7c3c48604 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -77,7 +77,7 @@ %li %span.light Git LFS status: %strong - = lfs_status_helper(@project) + = project_lfs_status(@project) = link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs') - else %li |