From 9761d8a05585c7ef9cf4f005b1f8547686e32c11 Mon Sep 17 00:00:00 2001 From: ElenaGaneva Date: Fri, 6 Mar 2015 15:06:11 +0200 Subject: [PATCH] Added preselected email templates --- .../EmailTemplateHelper.cs} | 8 +++----- .../Telerik.Sitefinity.Frontend.csproj | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) rename Telerik.Sitefinity.Frontend/{Mvc/Helpers/EmailTemplateSelectorHelper.cs => Notifications/EmailTemplateHelper.cs} (80%) diff --git a/Telerik.Sitefinity.Frontend/Mvc/Helpers/EmailTemplateSelectorHelper.cs b/Telerik.Sitefinity.Frontend/Notifications/EmailTemplateHelper.cs similarity index 80% rename from Telerik.Sitefinity.Frontend/Mvc/Helpers/EmailTemplateSelectorHelper.cs rename to Telerik.Sitefinity.Frontend/Notifications/EmailTemplateHelper.cs index 95d92628e..3ac282689 100644 --- a/Telerik.Sitefinity.Frontend/Mvc/Helpers/EmailTemplateSelectorHelper.cs +++ b/Telerik.Sitefinity.Frontend/Notifications/EmailTemplateHelper.cs @@ -6,21 +6,19 @@ using Telerik.Sitefinity.Modules.Pages; using Telerik.Sitefinity.Pages.Model; -namespace Telerik.Sitefinity.Frontend.Mvc.Helpers +namespace Telerik.Sitefinity.Frontend.Notifications { /// /// This class contains helpers for working with email templates. /// - public static class EmailTemplateSelectorHelper + public static class EmailTemplateHelper { /// /// Gets the email templates. /// - /// The helper. /// The filter expression. /// - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "helper")] - public static IDictionary GetEmailTemplates(this HtmlHelper helper, string filterExpression) + public static IDictionary GetEmailTemplates(string filterExpression) { var pageManager = PageManager.GetManager(); IQueryable allTemplates; diff --git a/Telerik.Sitefinity.Frontend/Telerik.Sitefinity.Frontend.csproj b/Telerik.Sitefinity.Frontend/Telerik.Sitefinity.Frontend.csproj index c2aab01e8..fb7fc5bfa 100644 --- a/Telerik.Sitefinity.Frontend/Telerik.Sitefinity.Frontend.csproj +++ b/Telerik.Sitefinity.Frontend/Telerik.Sitefinity.Frontend.csproj @@ -189,7 +189,7 @@ - + @@ -581,7 +581,7 @@ - +