summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_classification_level_banner.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/nav/_classification_level_banner.html.haml')
-rw-r--r--app/views/layouts/nav/_classification_level_banner.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/nav/_classification_level_banner.html.haml b/app/views/layouts/nav/_classification_level_banner.html.haml
new file mode 100644
index 00000000000..cc4caf079b8
--- /dev/null
+++ b/app/views/layouts/nav/_classification_level_banner.html.haml
@@ -0,0 +1,5 @@
+- if ::Gitlab::ExternalAuthorization.enabled? && @project
+ = content_for :header_content do
+ %span.badge.color-label.classification-label.has-tooltip{ title: s_('ExternalAuthorizationService|Classification label') }
+ = sprite_icon('lock-open', size: 8, css_class: 'inline')
+ = @project.external_authorization_classification_label