diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-22 12:21:45 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-06 20:56:34 +0300 |
commit | 88fc7ccddaab18435bdc85021d06d9aa21d28a68 (patch) | |
tree | e69acfd9d0964f26e9be8f76d8d12d8195436571 /app/views/projects/badges | |
parent | ea69037831a9b607e7936cadb8078a3182d6635a (diff) |
Add project badges view prototype
Diffstat (limited to 'app/views/projects/badges')
-rw-r--r-- | app/views/projects/badges/index.html.haml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/projects/badges/index.html.haml b/app/views/projects/badges/index.html.haml new file mode 100644 index 00000000000..b527df8ac98 --- /dev/null +++ b/app/views/projects/badges/index.html.haml @@ -0,0 +1,15 @@ +- page_title 'Badges' + +.prepend-top-10 + .panel.panel-default + .panel-heading + %b Builds badge · + = image_tag(build_namespace_project_badges_path(@project.namespace, @project, :master, format: :svg), alt: 'Builds badge') + .panel-body + %table.table + %tr + %td Markdown + %td= markdown("```markdown\n[![build status](url)](link)\n```") + %tr + %td HTML + %td= markdown("```html\n<a href='link'><img src='url' /></a>\n```") |