summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_issue_by_email.html.haml
blob: 72022881c093b8215cb7029ed1a93611f6ebf35f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#issue-email-modal.modal.fade{ tabindex: "-1", role: "dialog" }
  .modal-dialog{ role: "document" }
    .modal-content
      .modal-header
        %button.close{ type: "button", data: { dismiss: "modal" }, aria: { label: "close" } }
          %span{ aria: { hidden: "true" } }= icon("times")
        %h4.modal-title
          Create new issue by email
      .modal-body
        %p
          Write an email to the below email address. (This is a private email address, so keep it secret.)
        .email-modal-input-group.input-group
          = text_field_tag :issue_email, email, class: "monospace js-select-on-focus form-control", readonly: true
          .input-group-btn
            = clipboard_button(clipboard_target: '#issue_email')
        %p
          Send an email to this address to create an issue.
        %p
          Use the subject line as the title of your issue.
        %p
          Use the message as the body of your issue (feel free to include some nice
          = succeed ")." do
            = link_to "Markdown", help_page_path('markdown', 'markdown')