Skip to content
Snippets Groups Projects

Include event resource URL in notification emails

Files

@@ -5,6 +5,9 @@
</head>
<body>
<%= render_notification @notification %>
<% if @notification.event.resource.present? && @notification.event.url %>
<p><%= link_to "#{t('show')} #{@notification.event.resource.model_name.human}", @notification.event.url %></p>
<% end %>
<p>
<%= t('.visit_project_forum_link') %> <a href="https://projectforum.tudelft.nl">https://projectforum.tudelft.nl</a>
</p>
Loading