From 1f02c87c8c6d56e4ff3de7acb3d3193c397765e6 Mon Sep 17 00:00:00 2001 From: Jamie Date: Thu, 30 Nov 2017 08:04:03 +0000 Subject: [PATCH] Hide the subject when it's not being used --- .../ClientApp/app/settings/notifications/discord.component.html | 2 +- .../app/settings/notifications/mattermost.component.html | 2 +- .../settings/notifications/notificationtemplate.component.html | 2 +- .../settings/notifications/notificationtemplate.component.ts | 1 + .../app/settings/notifications/pushbullet.component.html | 2 +- .../app/settings/notifications/pushover.component.html | 2 +- .../ClientApp/app/settings/notifications/slack.component.html | 2 +- .../app/settings/notifications/telegram.component.html | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Ombi/ClientApp/app/settings/notifications/discord.component.html b/src/Ombi/ClientApp/app/settings/notifications/discord.component.html index 991cfe45f..fd907f1b2 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/discord.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/discord.component.html @@ -50,7 +50,7 @@
- +
\ No newline at end of file diff --git a/src/Ombi/ClientApp/app/settings/notifications/mattermost.component.html b/src/Ombi/ClientApp/app/settings/notifications/mattermost.component.html index 0ff2a869a..c1e308315 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/mattermost.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/mattermost.component.html @@ -66,7 +66,7 @@
- +
\ No newline at end of file diff --git a/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.html b/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.html index 135642b38..3b8afe1ef 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.html @@ -15,7 +15,7 @@ -
+
diff --git a/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.ts b/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.ts index b885d9f27..223da9334 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.ts +++ b/src/Ombi/ClientApp/app/settings/notifications/notificationtemplate.component.ts @@ -8,5 +8,6 @@ import { INotificationTemplates, NotificationType } from "../../interfaces"; }) export class NotificationTemplate { @Input() public templates: INotificationTemplates[]; + @Input() public showSubject = true; // True by default public NotificationType = NotificationType; } diff --git a/src/Ombi/ClientApp/app/settings/notifications/pushbullet.component.html b/src/Ombi/ClientApp/app/settings/notifications/pushbullet.component.html index 242c7e674..d78096308 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/pushbullet.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/pushbullet.component.html @@ -51,7 +51,7 @@
- +
\ No newline at end of file diff --git a/src/Ombi/ClientApp/app/settings/notifications/pushover.component.html b/src/Ombi/ClientApp/app/settings/notifications/pushover.component.html index 0a03604e5..b56467c9f 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/pushover.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/pushover.component.html @@ -51,7 +51,7 @@
- +
\ No newline at end of file diff --git a/src/Ombi/ClientApp/app/settings/notifications/slack.component.html b/src/Ombi/ClientApp/app/settings/notifications/slack.component.html index 450838d2b..c4e5418df 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/slack.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/slack.component.html @@ -76,7 +76,7 @@
- +
\ No newline at end of file diff --git a/src/Ombi/ClientApp/app/settings/notifications/telegram.component.html b/src/Ombi/ClientApp/app/settings/notifications/telegram.component.html index 1c325de40..c456281f8 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/telegram.component.html +++ b/src/Ombi/ClientApp/app/settings/notifications/telegram.component.html @@ -60,7 +60,7 @@
- +
\ No newline at end of file