summaryrefslogtreecommitdiff
path: root/app/components/pajamas/badge_component.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/pajamas/badge_component.html.haml')
-rw-r--r--app/components/pajamas/badge_component.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/components/pajamas/badge_component.html.haml b/app/components/pajamas/badge_component.html.haml
new file mode 100644
index 00000000000..eaadc681f0e
--- /dev/null
+++ b/app/components/pajamas/badge_component.html.haml
@@ -0,0 +1,6 @@
+- if link?
+ %a{ href: @href, **html_options }><
+ = badge_content
+- else
+ %span{ **html_options }><
+ = badge_content