Remove Name property from IDashboardSection & the C# types (We use localization of dashboardTabs_alias)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user