A
A
AirAnt2017-03-27 13:09:56
Redmine
AirAnt, 2017-03-27 13:09:56

How to remove the link to Redmine in notifications?

I receive notifications from Redmine in the mail with every activity.
How to set up notifications so that the link to Redmine is not displayed in these letters?
Even when I removed the signature in the settings, the link still appears in the incident number.
Is it possible to somehow kill her forever in notifications?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Gladyshev, 2017-04-06
@fairoj

It is not very clear what the link in the letter prevents. But if you want to completely remove it, then you need to go to the app/views/mailer folder and find the issue_add.html.erb and issue_edit.html.erb files there. These files contain the lines
and
link_to("##{@issue.id}", @issue_url) in these lines adds links in your emails, either replace this method with empty quotes, or leave only "##{@issue.id}" from it, which only the task number would be displayed, but without a link.
It should turn out like this:

<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)).html_safe %>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question