summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_license.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blob/viewers/_license.html.haml')
-rw-r--r--app/views/projects/blob/viewers/_license.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/blob/viewers/_license.html.haml b/app/views/projects/blob/viewers/_license.html.haml
new file mode 100644
index 00000000000..fb9d0b99d09
--- /dev/null
+++ b/app/views/projects/blob/viewers/_license.html.haml
@@ -0,0 +1,8 @@
+- license = viewer.license
+
+= icon('balance-scale fw')
+This project is licensed under the
+= succeed '.' do
+ %strong= license.name
+
+= link_to 'Learn more', license.url, target: '_blank', rel: 'noopener noreferrer'