Rudimentary Templates for Tasks

Basic templates to match those for stories.

These allow notifications when tasks are created or updated.

They need future work to display task-updates in a more user-friendly
way, but this is the first step.

Change-Id: If7b9866ba33e97f252dc7855958023f956e556d7
This commit is contained in:
Zara
2016-01-06 16:04:13 +00:00
parent a91b276591
commit 32ee2b3c19
5 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
Task "{{resource.title}}" was created by {{author.full_name}}:
URL: {{url}}#!/story/{{resource.story.id}}
Story: {{resource.story.title}}
Project: {{resource.project.name}}
Assignee: {{resource.assignee.full_name}}
Status: {{resource.status}}
Priority: {{resource.priority}}

View File

@@ -0,0 +1 @@
Task "{{resource.title}}" was created.

View File

@@ -0,0 +1,15 @@
Task "{{resource.title}}" was updated by {{author.full_name}}:
URL: {{url}}#!/story/{{resource.story.id}}
Full Task Details:
Task: {{resource.title}}
Story: {{resource.story.title}}
Project: {{resource.project.name}}
Assignee: {{resource.assignee.full_name}}
Status: {{resource.status}}
Priority: {{resource.priority}}
Type of Change: {{after}}
(prior to change, {{before}} )

View File

@@ -0,0 +1 @@
Task "{{resource.title}}" was updated.