summaryrefslogtreecommitdiff
path: root/app/views/shared/_location_badge.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_location_badge.html.haml')
-rw-r--r--app/views/shared/_location_badge.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/shared/_location_badge.html.haml b/app/views/shared/_location_badge.html.haml
index dfe8bc010d6..f1ecc060cf1 100644
--- a/app/views/shared/_location_badge.html.haml
+++ b/app/views/shared/_location_badge.html.haml
@@ -3,11 +3,10 @@
- if controller.controller_path =~ /^projects/
- label = 'This project'
-.search-location-badge
- - if label.present?
- %span.label.label-primary
- %i.location-text
- = label
+- if label.present?
+ %span.location-badge
+ %i.location-text
+ = label
- %a.remove-badge{href: '#'}
- x
+ %a.remove-badge{href: '#'}
+ x