diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Components/Pages/Index.razor b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Components/Pages/Index.razor index c67303f497..7780ca507b 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Components/Pages/Index.razor +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Components/Pages/Index.razor @@ -5,19 +5,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor index 25e0757efa..92f49f863c 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor @@ -4,20 +4,27 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/Pages/Index.razor b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/Pages/Index.razor index c67303f497..7780ca507b 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/Pages/Index.razor +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/Pages/Index.razor @@ -5,19 +5,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Pages/Index.cshtml b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Pages/Index.cshtml index 468a3aad1d..1fcd0b7808 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Pages/Index.cshtml +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Pages/Index.cshtml @@ -16,19 +16,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Pages/Index.cshtml b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Pages/Index.cshtml index 468a3aad1d..1fcd0b7808 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Pages/Index.cshtml +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Pages/Index.cshtml @@ -16,19 +16,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/Pages/Index.razor b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/Pages/Index.razor index 6b01b38267..2e7f691ade 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/Pages/Index.razor +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/Pages/Index.razor @@ -8,19 +8,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor index d0a8d0ac7b..9427104615 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Components/Pages/Index.razor @@ -8,19 +8,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Client/Pages/Index.razor b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Client/Pages/Index.razor index 8efe9db682..ffcac58f01 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Client/Pages/Index.razor +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Client/Pages/Index.razor @@ -7,19 +7,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered.Client/Pages/Index.razor b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered.Client/Pages/Index.razor index d0a8d0ac7b..9427104615 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered.Client/Pages/Index.razor +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered.Client/Pages/Index.razor @@ -8,19 +8,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml index ccf8dd1708..41bc748741 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml @@ -17,19 +17,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml index ec51ec8a98..f0ca651ef7 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/Pages/Index.cshtml @@ -17,19 +17,26 @@
Learn how to create and run +
@L["Welcome_Text"]
+ @if (!CurrentUser.IsAuthenticated) + { + @L["Login"] + } + +Learn how to create and run a new web application using the application startup template.
- Getting + Getting StartedLearn how to build an ABP based web application named Acme.BookStore.
- Explore Tutorial + Explore TutorialLearn how to customize LeptonX