debian-mirror-gitlab/app/views/projects/_md_preview.html.haml

33 lines
1 KiB
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
.md-area
2016-06-02 11:05:42 +05:30
.md-header
%ul.nav-links.clearfix
2015-09-11 14:41:01 +05:30
%li.active
2016-06-02 11:05:42 +05:30
%a.js-md-write-button{ href: "#md-write-holder", tabindex: -1 }
2015-09-11 14:41:01 +05:30
Write
%li
2016-06-02 11:05:42 +05:30
%a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 }
2015-09-11 14:41:01 +05:30
Preview
- if defined?(@issue) && @issue.confidential?
%li.confidential-issue-warning
= icon('warning')
%span This is a confidential issue. Your comment will not be visible to the public.
2016-06-02 11:05:42 +05:30
%li.pull-right
%button.zen-control.zen-control-full.js-zen-enter{ type: 'button', tabindex: -1 }
Go full screen
2015-09-11 14:41:01 +05:30
2016-06-02 11:05:42 +05:30
.md-write-holder
= yield
.md.md-preview-holder.js-md-preview.hide{class: (preview_class if defined?(preview_class))}
2015-12-23 02:04:40 +05:30
- if defined?(referenced_users) && referenced_users
%div.referenced-users.hide
%span
2015-09-11 14:41:01 +05:30
= icon('exclamation-triangle')
You are about to add
%strong
%span.js-referenced-users-count 0
2015-09-25 12:07:36 +05:30
people
2015-09-11 14:41:01 +05:30
to the discussion. Proceed with caution.