Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2018-10-02 05:50:48 +0300
committerGabriel Mazetto <brodock@gmail.com>2018-10-06 00:11:16 +0300
commit7b8b2563c4d6b0090fd33fd50aad81561519f9cd (patch)
tree9833d906cbccaeeb07063bdbfb72378ebee29bc4 /app/views
parent1a90632cc9555d06edfa3a86808ab65f47558be9 (diff)
Prepare admin/projects/show view to allow EE specific feature
In EE it will render a Geo Status widget when Geo is enabled and it is in a secondary node. Also added minimal specs to that action.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/projects/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 32f6eefc16a..fefb4c7455d 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -112,6 +112,8 @@
= visibility_level_icon(@project.visibility_level)
= visibility_level_label(@project.visibility_level)
+ = render_if_exists 'admin/projects/geo_status_widget', locals: { project: @project }
+
.card
.card-header
Transfer project