2015-06-02 08:56:50 -04:00
|
|
|
.md-area
|
2016-03-30 05:00:43 -04:00
|
|
|
.md-header
|
2016-04-16 04:43:49 -04:00
|
|
|
%ul.nav-links.clearfix
|
2015-06-02 08:56:50 -04:00
|
|
|
%li.active
|
2016-04-09 20:02:36 -04:00
|
|
|
%a.js-md-write-button{ href: "#md-write-holder", tabindex: -1 }
|
2015-06-02 08:56:50 -04:00
|
|
|
Write
|
|
|
|
%li
|
2016-04-09 20:02:36 -04:00
|
|
|
%a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 }
|
2015-06-02 08:56:50 -04:00
|
|
|
Preview
|
2016-06-03 17:00:04 -04:00
|
|
|
|
2016-06-05 14:24:36 -04:00
|
|
|
- if defined?(@issue) && @issue.confidential?
|
2016-06-03 17:00:04 -04:00
|
|
|
%li.confidential-issue-warning
|
|
|
|
= icon('warning')
|
|
|
|
%span This is a confidential issue. Your comment will not be visible to the public.
|
2016-06-27 11:12:03 -04:00
|
|
|
|
2016-03-30 05:00:43 -04:00
|
|
|
%li.pull-right
|
2016-06-03 10:14:04 -04:00
|
|
|
.toolbar-group
|
2016-12-26 05:47:16 -05:00
|
|
|
= markdown_toolbar_button({ icon: "bold fw", data: { "md-tag" => "**" }, title: "Add bold text" })
|
|
|
|
= markdown_toolbar_button({ icon: "italic fw", data: { "md-tag" => "*" }, title: "Add italic text" })
|
|
|
|
= markdown_toolbar_button({ icon: "quote-right fw", data: { "md-tag" => "> ", "md-prepend" => true }, title: "Insert a quote" })
|
|
|
|
= markdown_toolbar_button({ icon: "code fw", data: { "md-tag" => "`", "md-block" => "```" }, title: "Insert code" })
|
|
|
|
= markdown_toolbar_button({ icon: "list-ul fw", data: { "md-tag" => "* ", "md-prepend" => true }, title: "Add a bullet list" })
|
|
|
|
= markdown_toolbar_button({ icon: "list-ol fw", data: { "md-tag" => "1. ", "md-prepend" => true }, title: "Add a numbered list" })
|
|
|
|
= markdown_toolbar_button({ icon: "check-square-o fw", data: { "md-tag" => "* [ ] ", "md-prepend" => true }, title: "Add a task list" })
|
2016-06-03 10:14:04 -04:00
|
|
|
.toolbar-group
|
2016-12-01 15:31:24 -05:00
|
|
|
%button.toolbar-btn.js-zen-enter.has-tooltip{ type: "button", tabindex: -1, aria: { label: "Go full screen" }, title: "Go full screen", data: { container: "body" } }
|
2016-12-23 05:27:41 -05:00
|
|
|
= icon("arrows-alt fw")
|
2015-06-02 08:56:50 -04:00
|
|
|
|
2016-03-30 03:28:06 -04:00
|
|
|
.md-write-holder
|
|
|
|
= yield
|
2016-12-26 05:47:16 -05:00
|
|
|
.md.md-preview-holder.js-md-preview.hide{ class: (preview_class if defined?(preview_class)) }
|
2015-12-02 19:03:43 -05:00
|
|
|
|
|
|
|
- if defined?(referenced_users) && referenced_users
|
2016-12-23 04:37:12 -05:00
|
|
|
.referenced-users.hide
|
2015-12-03 16:40:31 -05:00
|
|
|
%span
|
2016-06-03 10:14:04 -04:00
|
|
|
= icon("exclamation-triangle")
|
2015-12-03 12:30:10 -05:00
|
|
|
You are about to add
|
|
|
|
%strong
|
|
|
|
%span.js-referenced-users-count 0
|
|
|
|
people
|
|
|
|
to the discussion. Proceed with caution.
|