diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-30 12:08:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-30 12:08:14 +0300 |
commit | 7964ea1bad6607becce3d2028650ef01b167bc60 (patch) | |
tree | 583e6bfbddc19d4bad367065d59bf9754b7b9da6 /app/views/projects/issues/index.html.haml | |
parent | e616fbfd425f838ca83fe01c3adf10e6b8e5a934 (diff) |
Added new issue by email modal window
Diffstat (limited to 'app/views/projects/issues/index.html.haml')
-rw-r--r-- | app/views/projects/issues/index.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml index cd876b5ea62..68befa5196f 100644 --- a/app/views/projects/issues/index.html.haml +++ b/app/views/projects/issues/index.html.haml @@ -1,5 +1,6 @@ - @no_container = true - page_title "Issues" +- new_issue_email = @project.new_issue_address(current_user) = render "projects/issues/head" = content_for :meta_tags do @@ -24,3 +25,8 @@ .issues-holder = render "issues" + - if new_issue_email + .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 + = render "issue_by_email", email: new_issue_email |