summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-10 12:51:46 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-10 12:51:46 -0700
commit100d750bc5ec4c6c5be11eb6f4100fe38b4ddee7 (patch)
tree3339d7451f13ba1e6cb4a7362c08e68424d4a32d /app/views/admin/dashboard
parent73179685b0517dcdebe696b5987b47822b9bf6ed (diff)
downloadgitlab-ce-100d750bc5ec4c6c5be11eb6f4100fe38b4ddee7.tar.gz
Add feature to disable version check
Diffstat (limited to 'app/views/admin/dashboard')
-rw-r--r--app/views/admin/dashboard/index.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 6b4ff4b330d..3732ff847b9 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -58,8 +58,9 @@
.col-md-4
%h4
Components
- .pull-right
- = version_status_badge
+ - if current_application_settings.version_check_enabled
+ .pull-right
+ = version_status_badge
%hr
%p