Просмотр исходного кода

Added id of project "dispatcher"

Dmitry Yu Okunev лет назад: 7
Родитель
Сommit
763da9c30e

+ 1 - 1
app/views/mailer/_issue.html.erb

@@ -13,7 +13,7 @@
   </fieldset>
 <% end %> 
 
-<% if issue.project_id == 15894 %>
+<% if issue.project_id == 15894 || issue.project_id == 16359 %>
 
 	<%= link_to(h("PDF: данная задача"), "https://tasks.mephi.ru/issues/#{issue.id}.pdf") %><br>
 	<%= link_to(h("PDF: все задачи по проекту"), "https://tasks.mephi.ru/projects/campus-utilities/issues.pdf?query_id=210") %>

+ 1 - 1
lib/redmine_customnotifications/patches/app/helpers/issues_helper.rb

@@ -18,7 +18,7 @@ module CustomNotifications
 		module InstanceMethods
 			def email_issue_attributes_with_customnotifications(issue, user)
 				return email_issue_attributes_without_customnotifications(issue, user) if issue.nil?
-				return email_issue_attributes_without_customnotifications(issue, user) if issue.project_id != 15894
+				return email_issue_attributes_without_customnotifications(issue, user) if issue.project_id != 15894 && issue.project_id != 16359
 
 				items = []
 				%w(author assigned_to category fixed_version).each do |attribute|