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

26 lines
696 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
.md-area
.md-header.clearfix
2015-09-25 12:07:36 +05:30
%ul.center-top-menu
2015-09-11 14:41:01 +05:30
%li.active
2015-10-24 18:46:33 +05:30
%a.js-md-write-button(href="#md-write-holder" tabindex="-1")
2015-09-11 14:41:01 +05:30
Write
%li
2015-12-23 02:04:40 +05:30
%a.js-md-preview-button(href="#md-preview-holder" tabindex="-1")
2015-09-11 14:41:01 +05:30
Preview
2015-12-23 02:04:40 +05:30
%div
.md-write-holder
= yield
.md.md-preview-holder.hide
.js-md-preview{class: (preview_class if defined?(preview_class))}
- 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.