Rework the notification functionality in all areas:
- for object changes in each tab / section we send out notifications to project owners, members and / or additional addresses (all this is configurable) (fixes issues 334, 452, 480 and possible others) - one can now also receive notifications about download updates - the notification template that informs about issue updates is no longer confusing the reader with the "a new issue has been created and assigned to you" phrase if the user who is notified is not actually the (new) owner (fixes issue 562) - send-out notification emails for reviews, wiki updates and review updates are now linked via a unique message id to support a threaded view in email clients like Thunderbird (this was previously only implemented for issue notifications for issue 414) This commit has been sponsored by SciLab.
This commit is contained in:
17
src/IDF/templates/idf/downloads/download-updated-email.txt
Normal file
17
src/IDF/templates/idf/downloads/download-updated-email.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
{trans 'Hello,'}
|
||||
|
||||
{blocktrans}A file download was updated:{/blocktrans}
|
||||
|
||||
{$file.summary|safe}
|
||||
{$file} - {$file.filesize|ssize}
|
||||
{trans 'Project:'} {$project.name|safe}
|
||||
{trans 'Submitted by:'} {$file.get_submitter|safe}
|
||||
{if $tags.count()}{trans 'Labels:'}
|
||||
{foreach $tags as $tag} {$tag.class|safe}:{$tag.name|safe}
|
||||
{/foreach}{/if}
|
||||
{trans 'Download:'} {$urlfile}
|
||||
{if $file.changelog}
|
||||
{trans 'Description:'}
|
||||
|
||||
{$file.changelog}
|
||||
{/if}
|
@@ -1,7 +1,6 @@
|
||||
{trans 'Hello,'}
|
||||
|
||||
{blocktrans}A new issue has been created and assigned
|
||||
to you:{/blocktrans}
|
||||
{if $owns_issue}{blocktrans}A new issue has been created and assigned to you:{/blocktrans}{else}{blocktrans}A new issue has been created:{/blocktrans}{/if}
|
||||
|
||||
{$issue.id} - {$issue.summary|safe}
|
||||
{trans 'Project:'} {$project.name|safe}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{trans 'Hello,'}
|
||||
|
||||
{blocktrans}The following issue has been updated:{/blocktrans}
|
||||
{if $owns_issue}{blocktrans}The following issue you are owning has been updated:{/blocktrans}{else}{blocktrans}The following issue has been updated:{/blocktrans}{/if}
|
||||
|
||||
{$issue.id} - {$issue.summary|safe}
|
||||
{trans 'Project:'} {$project.name|safe}
|
||||
|
@@ -2,16 +2,16 @@
|
||||
|
||||
{blocktrans}A new commit has been created:{/blocktrans}
|
||||
|
||||
{$c.summary|safe}
|
||||
{$commit.summary|safe}
|
||||
|
||||
{trans 'Commit:'} {$c.scm_id|safe}
|
||||
{trans 'Commit:'} {$commit.scm_id|safe}
|
||||
{trans 'Project:'} {$project.name|safe}
|
||||
{trans 'Created by:'} {$c.get_author|safe}
|
||||
{trans 'Created at:'} {$c.creation_dtime|date:"%Y-%m-%d %H:%M:%S"}
|
||||
{if $c.fullmessage}
|
||||
{trans 'Created by:'} {$commit.get_author|safe}
|
||||
{trans 'Created at:'} {$commit.creation_dtime|date:"%Y-%m-%d %H:%M:%S"}
|
||||
{if $commit.fullmessage}
|
||||
{trans 'Content:'}
|
||||
|
||||
{$c.fullmessage}
|
||||
{$commit.fullmessage}
|
||||
{/if}
|
||||
--
|
||||
{trans 'Commit details:'} {$url_base}{url 'IDF_Views_Source::commit', array($project.shortname, $c.scm_id)}
|
||||
{trans 'Commit details:'} {$url_base}{url 'IDF_Views_Source::commit', array($project.shortname, $commit.scm_id)}
|
||||
|
Reference in New Issue
Block a user