From e0da643ba8ec9690ee179725b5926b21e3d48f5b Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 1 Dec 2015 01:07:41 +0000 Subject: [PATCH] Add templates for tags added/deleted subscription events Tag/Untag events were blank on the dashboard. Now users will get notifications about these events, including a link to the relevant story. For this patch to work properly we need to add to tag events the story_title (https://review.openstack.org/#/c/251566/) Change-Id: Iaa6316f3ab7950c36d8ff3c0979bf19d05513a60 --- src/app/dashboard/template/event/tags_added.html | 13 +++++++++++++ src/app/dashboard/template/event/tags_deleted.html | 13 +++++++++++++ src/app/dashboard/template/subscription_event.html | 6 ++++++ 3 files changed, 32 insertions(+) create mode 100644 src/app/dashboard/template/event/tags_added.html create mode 100644 src/app/dashboard/template/event/tags_deleted.html diff --git a/src/app/dashboard/template/event/tags_added.html b/src/app/dashboard/template/event/tags_added.html new file mode 100644 index 00000000..046ae8fa --- /dev/null +++ b/src/app/dashboard/template/event/tags_added.html @@ -0,0 +1,13 @@ +
+

+ + {{ author.full_name }} tagged the story {{evt.event_info.story_title}} as: +

+

+

+

+
diff --git a/src/app/dashboard/template/event/tags_deleted.html b/src/app/dashboard/template/event/tags_deleted.html new file mode 100644 index 00000000..b5dcde4e --- /dev/null +++ b/src/app/dashboard/template/event/tags_deleted.html @@ -0,0 +1,13 @@ +
+

+ + {{ author.full_name }} removed the following tags from the story {{evt.event_info.story_title}}: +

+

+

+

+
diff --git a/src/app/dashboard/template/subscription_event.html b/src/app/dashboard/template/subscription_event.html index 2ca8e837..d6de0bb5 100644 --- a/src/app/dashboard/template/subscription_event.html +++ b/src/app/dashboard/template/subscription_event.html @@ -5,6 +5,12 @@
+
+
+
+
+
+