Skip to content

Commit

Permalink
Merge pull request #912 from Sitefinity/PreselectedEmailTemplate
Browse files Browse the repository at this point in the history
Preselected email template
  • Loading branch information
ElenaGaneva committed Mar 6, 2015
2 parents c438db9 + a159b32 commit 79c7920
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/// <summary>
/// This class contains helpers for working with email templates.
/// </summary>
public static class EmailTemplateSelectorHelper
public static class EmailTemplateHelper
{
/// <summary>
/// Gets the email templates.
/// </summary>
/// <param name="helper">The helper.</param>
/// <param name="filterExpression">The filter expression.</param>
/// <returns></returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "helper")]
public static IDictionary<Guid, string> GetEmailTemplates(this HtmlHelper helper, string filterExpression)
public static IDictionary<Guid, string> GetEmailTemplates(string filterExpression)
{
var pageManager = PageManager.GetManager();
IQueryable<ControlPresentation> allTemplates;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<Compile Include="InlineEditing\HtmlRegion.cs" />
<Compile Include="InterfaceMappings.cs" />
<Compile Include="Modules\ControlTemplates\Web\UI\MvcControlTemplateEditor.cs" />
<Compile Include="Mvc\Helpers\EmailTemplateSelectorHelper.cs" />
<Compile Include="Notifications\EmailTemplateHelper.cs" />
<Compile Include="Mvc\Infrastructure\Controllers\Attributes\ControllerMetadataAttribute.cs" />
<Compile Include="Mvc\Controllers\ContentPagerController.cs" />
<Compile Include="Mvc\Helpers\CustomFieldsHelpers.cs" />
Expand Down Expand Up @@ -581,7 +581,7 @@
<Import Project="$(SolutionDir)\StyleCop\StyleCop.targets" />
<ProjectExtensions>
<VisualStudio>
<UserProperties OpenAccess_ConfigFile="App.config" OpenAccess_ConnectionId="DatabaseConnection1" OpenAccess_Enhancing="False" OpenAccess_UpdateDatabase="False" OpenAccess_EnhancementOutputLevel="1" />
<UserProperties OpenAccess_EnhancementOutputLevel="1" OpenAccess_UpdateDatabase="False" OpenAccess_Enhancing="False" OpenAccess_ConnectionId="DatabaseConnection1" OpenAccess_ConfigFile="App.config" />
</VisualStudio>
</ProjectExtensions>
<PropertyGroup>
Expand Down

0 comments on commit 79c7920

Please sign in to comment.