Skip to content
Snippets Groups Projects
Commit f4fafc46 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #2524 from sourcerer-mike/4-0-stable

Improve usability and quit spamming
parents c84fcb26 1abc70fb
No related branches found
No related tags found
1 merge request!104094 0 stable
Loading
Loading
@@ -6,6 +6,10 @@
= @issue.created_at.stamp("Aug 21, 2011")
 
%span.right
- if can? current_user, :write_issue, @project
= link_to new_project_issue_path(@project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "btn grouped" do
%i.icon-plus
New Issue
- if can?(current_user, :admin_project, @project) || @issue.author == current_user
- if @issue.closed
= link_to 'Reopen', project_issue_path(@project, @issue, issue: {closed: false }, status_only: true), method: :put, class: "btn grouped reopen_issue"
Loading
Loading
Loading
Loading
@@ -22,12 +22,12 @@
.span4.notify_opts
%h6.left Notify via email:
= label_tag :notify do
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
= check_box_tag :notify, 1, false
%span Project team
 
- if @note.notify_only_author?(current_user)
= label_tag :notify_author do
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
= check_box_tag :notify_author, 1 , false
%span Commit author
.span5.attachments
%h6.left Attachment:
Loading
Loading
Loading
Loading
@@ -23,12 +23,12 @@
%h6.left Notify via email:
.labels
= label_tag :notify do
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
= check_box_tag :notify, 1, false
%span Project team
 
- if @note.notify_only_author?(current_user)
= label_tag :notify_author do
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
= check_box_tag :notify_author, 1 , false
%span Commit author
 
:javascript
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment