Tickets & forums support monitoring emails. The email footers should reflect that. Currently a ticket email footer looks like:
Sent from sourceforge.net because you indicated interest in https://sf-dbrondsema-7020.sb.sf.net/p/testall/tickets/3/ To unsubscribe from further messages, please visit https://sf-dbrondsema-7020.sb.sf.net/auth/subscriptions/
It should look something like:
Sent from sourceforge.net because {{mailing-list-address}} is subscribed to https://sf-dbrondsema-7020.sb.sf.net/p/testall/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sf-dbrondsema-7020.sb.sf.net/p/testall/admin/tickets/options Or if this is a mailing list, you can unsubscribe from the mailing list.
Make similar changes for forums.
Created #361: [#6263] Update email footer when used for monitoring email addresses (1cp)
Related
Tickets:
#6263Closed #361.
je/42cc_6263
While the functionality is correct, this method needs to be refactored for architectural reasons:
In the Allura platform code, it is rarely (if ever) correct to have an
if
statement on tool name or type. Doing so implies that the platform has some knowledge of its tools' implementations, which should not be the case.I would instead suggest something like:
That code is not tested and could probably be improved, but hopefully you get the idea.
Created #373: [#6263] Mail footer refactoring (1cp)
Related
Tickets:
#6263Closed #373.
je/42cc_6263
(forced update)