Browse Source

Merge branch 'dev' of https://github.com/abpframework/abp into dev

pull/3151/head
Halil İbrahim Kalkan 7 years ago
parent
commit
a721291c77
  1. 2
      abp_io/AbpIoLocalization/AbpIoLocalization/Account/Localization/Resources/en.json
  2. 4
      abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/en.json
  3. 47
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml
  4. 3
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
  5. 3
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml

2
abp_io/AbpIoLocalization/AbpIoLocalization/Account/Localization/Resources/en.json

@ -1,7 +1,7 @@
{ {
"culture": "en", "culture": "en",
"texts": { "texts": {
"Account": "Account", "Account": "ABP Account - Login & Register | ABP.IO",
"Welcome": "Welcome", "Welcome": "Welcome",
"UseOneOfTheFollowingLinksToContinue": "Use one of the following links to continue", "UseOneOfTheFollowingLinksToContinue": "Use one of the following links to continue",
"FrameworkHomePage": "Framework home page", "FrameworkHomePage": "Framework home page",

4
abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/en.json

@ -1,7 +1,7 @@
{ {
"culture": "en", "culture": "en",
"texts": { "texts": {
"GetStarted": "Get Started", "GetStarted": "Get Started - Startup Templates",
"Create": "Create", "Create": "Create",
"NewProject": "New Project", "NewProject": "New Project",
"DirectDownload": "Direct Download", "DirectDownload": "Direct Download",
@ -86,7 +86,7 @@
"BasedOnFamiliarToolsExplanation": "Built on and integrated to popular tools you already know. Low learning curve, easy adaptation, comfortable development.", "BasedOnFamiliarToolsExplanation": "Built on and integrated to popular tools you already know. Low learning curve, easy adaptation, comfortable development.",
"ORMIndependent": "ORM Independent", "ORMIndependent": "ORM Independent",
"ORMIndependentExplanation": "The core framework is ORM/database independent and can work with any data source. Entity Framework Core and MongoDB providers are already available.", "ORMIndependentExplanation": "The core framework is ORM/database independent and can work with any data source. Entity Framework Core and MongoDB providers are already available.",
"Features": "Features", "Features": "Explore the ABP Framework Features",
"ABPCLI": "ABP CLI", "ABPCLI": "ABP CLI",
"Modularity": "Modularity", "Modularity": "Modularity",
"BootstrapTagHelpers": "Bootstrap Tag Helpers", "BootstrapTagHelpers": "Bootstrap Tag Helpers",

47
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml

@ -23,6 +23,7 @@
Layout = null; Layout = null;
AbpAntiForgeryManager.SetCookie(); AbpAntiForgeryManager.SetCookie();
var containerClass = ViewBag.FluidLayout == true ? "container-fluid" : "container"; //TODO: Better and type-safe options var containerClass = ViewBag.FluidLayout == true ? "container-fluid" : "container"; //TODO: Better and type-safe options
} }
<!DOCTYPE html> <!DOCTYPE html>
@ -37,6 +38,8 @@
<title>@(ViewBag.Title == null ? BrandingProvider.AppName : ViewBag.Title)</title> <title>@(ViewBag.Title == null ? BrandingProvider.AppName : ViewBag.Title)</title>
<meta name="description" content="@(ViewBag.Description != null ? ViewBag.Description as string : "Login or register to check out your ABP account. You need to be logged in to to view pay statements, generate new project and manage your license.")" />
<abp-style-bundle name="@BasicThemeBundles.Styles.Global" /> <abp-style-bundle name="@BasicThemeBundles.Styles.Global" />
@await RenderSectionAsync("styles", false) @await RenderSectionAsync("styles", false)
@ -54,32 +57,32 @@
<abp-row> <abp-row>
<abp-column size-md="_5" class="mx-auto"> <abp-column size-md="_5" class="mx-auto">
@if (MultiTenancyOptions.Value.IsEnabled && @if (MultiTenancyOptions.Value.IsEnabled &&
(TenantResolveResultAccessor.Result?.AppliedResolvers?.Contains(CookieTenantResolveContributor.ContributorName) == true)) (TenantResolveResultAccessor.Result?.AppliedResolvers?.Contains(CookieTenantResolveContributor.ContributorName) == true))
{ {
<div class="card shadow-sm rounded mb-3"> <div class="card shadow-sm rounded mb-3">
<div class="card-body px-5"> <div class="card-body px-5">
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<span style="font-size: .8em;" class="text-uppercase text-muted">@MultiTenancyStringLocalizer["Tenant"]</span><br/> <span style="font-size: .8em;" class="text-uppercase text-muted">@MultiTenancyStringLocalizer["Tenant"]</span><br />
<h6 class="m-0 d-inline-block"> <h6 class="m-0 d-inline-block">
@if (CurrentTenant.Id == null) @if (CurrentTenant.Id == null)
{ {
<span> <span>
@MultiTenancyStringLocalizer["NotSelected"] @MultiTenancyStringLocalizer["NotSelected"]
</span> </span>
} }
else else
{ {
<strong>@(CurrentTenant.Name ?? CurrentTenant.Id.Value.ToString())</strong> <strong>@(CurrentTenant.Name ?? CurrentTenant.Id.Value.ToString())</strong>
} }
</h6> </h6>
</div> </div>
<div class="col-auto"> <div class="col-auto">
<a id="AbpTenantSwitchLink" href="javascript:;" class="btn btn-sm mt-3 btn-outline-primary">@MultiTenancyStringLocalizer["Switch"]</a> <a id="AbpTenantSwitchLink" href="javascript:;" class="btn btn-sm mt-3 btn-outline-primary">@MultiTenancyStringLocalizer["Switch"]</a>
</div>
</div> </div>
</div> </div>
</div> </div>
</div>
} }
@(await Component.InvokeAsync<PageAlertsViewComponent>()) @(await Component.InvokeAsync<PageAlertsViewComponent>())
@RenderBody() @RenderBody()

3
modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml

@ -7,7 +7,8 @@
@inject IAuthorizationService Authorization @inject IAuthorizationService Authorization
@model Volo.Blogging.Pages.Blog.Posts.IndexModel @model Volo.Blogging.Pages.Blog.Posts.IndexModel
@{ @{
ViewBag.PageTitle = "Blog"; ViewBag.Title = "Read All Blog Posts";
ViewBag.Description = "Volosoft blogs about new features and technologies either used to build Volosoft's open-source repositories and products or general interest.";
} }
@section scripts { @section scripts {
<abp-script-bundle name="@typeof(IndexModel).FullName"> <abp-script-bundle name="@typeof(IndexModel).FullName">

3
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml

@ -18,7 +18,8 @@
@{ @{
ViewBag.FluidLayout = true; ViewBag.FluidLayout = true;
Layout = ThemeManager.CurrentTheme.GetEmptyLayout(); Layout = ThemeManager.CurrentTheme.GetEmptyLayout();
PageLayout.Content.Title = Model.DocumentName?.Replace("-", " "); @* PageLayout.Content.Title = Model.DocumentName?.Replace("-", " ");*@
ViewBag.Title = "Documentation Center";
} }
@section styles { @section styles {
<abp-style-bundle name="@typeof(IndexModel).FullName"> <abp-style-bundle name="@typeof(IndexModel).FullName">

Loading…
Cancel
Save