Remove Name property from IDashboardSection & the C# types (We use localization of dashboardTabs_alias)

This commit is contained in:
Warren Buckley
2019-01-25 12:17:52 +00:00
parent 19d084e086
commit 4b3cd91188
11 changed files with 0 additions and 26 deletions

View File

@@ -5,12 +5,6 @@ namespace Umbraco.Core.Dashboards
{
public interface IDashboardSection
{
/// <summary>
/// Display name of the dashboard tab
/// </summary>
[DataMember(Name="name")]
string Name { get; }
/// <summary>
/// Alias to refer to this dashboard via code
/// </summary>

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(10)]
public class ContentDashboard : IDashboardSection
{
public string Name => "Get Started";
public string Alias => "contentIntro";
public string[] Sections => new [] { "content" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(20)]
public class ExamineDashboard : IDashboardSection
{
public string Name => "Examine Management";
public string Alias => "settingsExamine";
public string[] Sections => new [] { "settings" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(10)]
public class FormsDashboard : IDashboardSection
{
public string Name => "Install Umbraco Forms";
public string Alias => "formsInstall";
public string[] Sections => new [] { "forms" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(50)]
public class HealthCheckDashboard : IDashboardSection
{
public string Name => "Health Check";
public string Alias => "settingsHealthCheck";
public string[] Sections => new [] { "settings" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(10)]
public class MediaDashboard : IDashboardSection
{
public string Name => "Content";
public string Alias => "mediaFolderBrowser";
public string[] Sections => new [] { "media" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(10)]
public class MembersDashboard : IDashboardSection
{
public string Name => "Get Started";
public string Alias => "memberIntro";
public string[] Sections => new [] { "member" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(40)]
public class ModelsBuilderDashboard : IDashboardSection
{
public string Name => "Models Builder";
public string Alias => "settingsModelsBuilder";
public string[] Sections => new [] { "settings" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(30)]
public class PublishedStatusDashboard : IDashboardSection
{
public string Name => "Published Status";
public string Alias => "settingsPublishedStatus";
public string[] Sections => new [] { "settings" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(20)]
public class RedirectUrlDashboard : IDashboardSection
{
public string Name => "Redirect URL Management";
public string Alias => "contentRedirectManager";
public string[] Sections => new [] { "content" };

View File

@@ -7,8 +7,6 @@ namespace Umbraco.Web.Dashboards
[Weight(10)]
public class SettingsDashboard : IDashboardSection
{
public string Name => "Welcome";
public string Alias => "settingsWelcome";
public string[] Sections => new [] { "settings" };