BigW Consortium Gitlab

_issue_by_email.html.haml 1.57 KB
Newer Older
1 2 3 4
.issues-footer.text-center
  %button.issue-email-modal-btn{ type: "button", data: { toggle: "modal", target: "#issue-email-modal" } }
    Email a new issue to this project

5 6 7 8 9 10 11 12 13 14
#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
15
          You can create a new issue inside this project by sending an email to the following email address:
16 17 18
        .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
19
            = clipboard_button(target: '#issue_email')
20
        %p
21 22
          The subject will be used as the title of the new issue, and the message will be the description.

23
          = link_to 'Quick actions', help_page_path('user/project/quick_actions'), target: '_blank', tabindex: -1
24 25 26 27
          and styling with
          = link_to 'Markdown', help_page_path('user/markdown'), target: '_blank', tabindex: -1
          are supported.

28
        %p
29 30 31 32
          This is a private email address, generated just for you.

          Anyone who gets ahold of it can create issues as if they were you.
          You should
33
          = link_to 'reset it', new_issue_address_project_path(@project), class: 'incoming-email-token-reset'
34
          if that ever happens.