From e3b8aaf4a44e421c7f66a49dbd9ec28077b01375 Mon Sep 17 00:00:00 2001 From: m4tta Date: Thu, 18 Jan 2018 00:02:44 -0800 Subject: [PATCH] Added custom donation url (#1902) * Added custom donation urls * custom donation message --- .../Settings/Models/CustomizationSettings.cs | 3 +++ src/Ombi/ClientApp/app/app.component.html | 8 +++++++ .../ClientApp/app/interfaces/ISettings.ts | 3 +++ .../customization.component.html | 23 +++++++++++++++++++ src/Ombi/wwwroot/translations/en.json | 1 + 5 files changed, 38 insertions(+) diff --git a/src/Ombi.Settings/Settings/Models/CustomizationSettings.cs b/src/Ombi.Settings/Settings/Models/CustomizationSettings.cs index f367188a6..eef20573a 100644 --- a/src/Ombi.Settings/Settings/Models/CustomizationSettings.cs +++ b/src/Ombi.Settings/Settings/Models/CustomizationSettings.cs @@ -10,6 +10,9 @@ namespace Ombi.Settings.Settings.Models public string ApplicationName { get; set; } public string ApplicationUrl { get; set; } public string CustomCssLink { get; set; } + public bool EnableCustomDonations { get; set; } + public string CustomDonationUrl { get; set; } + public string CustomDonationMessage { get; set; } public string Logo { get; set; } public string PresetThemeName { get; set; } diff --git a/src/Ombi/ClientApp/app/app.component.html b/src/Ombi/ClientApp/app/app.component.html index 5364fe9a6..6a5ea4f52 100644 --- a/src/Ombi/ClientApp/app/app.component.html +++ b/src/Ombi/ClientApp/app/app.component.html @@ -52,6 +52,14 @@ {{ 'NavigationBar.Donate' | translate }} +
+ +