Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress email notifications on New Issue #14

Open
cloudcon opened this issue Aug 25, 2017 · 1 comment
Open

suppress email notifications on New Issue #14

cloudcon opened this issue Aug 25, 2017 · 1 comment

Comments

@cloudcon
Copy link

The checkbox to suppress notifications by e-mail, would also appear to register a new issue.
Often we can solve a problem via chat or another email or even through a personal order so I believe that when creating this issue who delegated the task would not need to receive an email notifying that it was registered

@tofi86
Copy link
Collaborator

tofi86 commented Jan 18, 2018

While displaying the checkbox below the form field can easy be achieved with adding

    render_on :view_issues_form_details_bottom,
      :partial => 'hooks/silencer_suppress_mail'

below https://github.com/paginagmbh/redmine_silencer/blob/master/lib/redmine_silencer/view_hooks.rb#L6-L7

  1. the checkbox is being showed twice when editing an existing issue
  2. the changed checkbox state is being reset when a form field changes and triggers a form reload (e.g. status change)

Unfortunately, I do not have a solution to any of the two problems.

Contributions are welcome! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants