Browse Source

Update docs according to bs5 class renames

pull/12158/head
Engincan VESKE 5 years ago
parent
commit
3f2f3bc64c
  1. 2
      docs/en/Tutorials/Part-2.md
  2. 8
      docs/en/Tutorials/Part-3.md
  3. 2
      docs/en/Tutorials/Part-5.md
  4. 6
      docs/en/Tutorials/Part-9.md
  5. 4
      docs/en/UI/Angular/Component-Replacement.md
  6. 2
      docs/en/UI/Angular/How-Replaceable-Components-Work-with-Extensions.md
  7. 2
      docs/en/UI/AspNetCore/Tag-Helpers/Figure.md
  8. 2
      docs/en/UI/AspNetCore/Theming.md
  9. 2
      docs/pt-BR/Tutorials/Angular/Part-II.md
  10. 2
      docs/pt-BR/Tutorials/AspNetCore-Mvc/Part-II.md
  11. 2
      docs/zh-Hans/Tutorials/Part-2.md
  12. 8
      docs/zh-Hans/Tutorials/Part-3.md
  13. 2
      docs/zh-Hans/UI/Angular/Component-Replacement.md

2
docs/en/Tutorials/Part-2.md

@ -512,7 +512,7 @@ Open the `/src/app/book/book.component.html` and replace the content as below:
{%{{{ '::Menu:Books' | abpLocalization }}}%} {%{{{ '::Menu:Books' | abpLocalization }}}%}
</h5> </h5>
</div> </div>
<div class="text-right col col-md-6"></div> <div class="text-end col col-md-6"></div>
</div> </div>
</div> </div>
<div class="card-body"> <div class="card-body">

8
docs/en/Tutorials/Part-3.md

@ -145,7 +145,7 @@ Open the `Pages/Books/Index.cshtml` and set the content of `abp-card-header` tag
<abp-column size-md="_6"> <abp-column size-md="_6">
<abp-card-title>@L["Books"]</abp-card-title> <abp-card-title>@L["Books"]</abp-card-title>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
<abp-button id="NewBookButton" <abp-button id="NewBookButton"
text="@L["NewBook"].Value" text="@L["NewBook"].Value"
icon="plus" icon="plus"
@ -175,7 +175,7 @@ The final content of the `Index.cshtml` is shown below:
<abp-column size-md="_6"> <abp-column size-md="_6">
<abp-card-title>@L["Books"]</abp-card-title> <abp-card-title>@L["Books"]</abp-card-title>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
<abp-button id="NewBookButton" <abp-button id="NewBookButton"
text="@L["NewBook"].Value" text="@L["NewBook"].Value"
icon="plus" icon="plus"
@ -687,10 +687,10 @@ Open `/src/app/book/book.component.html` and make the following changes:
<div class="col col-md-6"> <div class="col col-md-6">
<h5 class="card-title">{%{{{ '::Menu:Books' | abpLocalization }}}%}</h5> <h5 class="card-title">{%{{{ '::Menu:Books' | abpLocalization }}}%}</h5>
</div> </div>
<div class="text-right col col-md-6"> <div class="text-end col col-md-6">
<!-- Add the "new book" button here --> <!-- Add the "new book" button here -->
<div class="text-lg-right pt-2"> <div class="text-lg-end pt-2">
<button id="create" class="btn btn-primary" type="button" (click)="createBook()"> <button id="create" class="btn btn-primary" type="button" (click)="createBook()">
<i class="fa fa-plus mr-1"></i> <i class="fa fa-plus mr-1"></i>
<span>{%{{{ "::NewBook" | abpLocalization }}}%}</span> <span>{%{{{ "::NewBook" | abpLocalization }}}%}</span>

2
docs/en/Tutorials/Part-5.md

@ -227,7 +227,7 @@ Open the `Pages/Books/Index.cshtml` file and change the content as shown below:
<abp-column size-md="_6"> <abp-column size-md="_6">
<abp-card-title>@L["Books"]</abp-card-title> <abp-card-title>@L["Books"]</abp-card-title>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
@if (await AuthorizationService.IsGrantedAsync(BookStorePermissions.Books.Create)) @if (await AuthorizationService.IsGrantedAsync(BookStorePermissions.Books.Create))
{ {
<abp-button id="NewBookButton" <abp-button id="NewBookButton"

6
docs/en/Tutorials/Part-9.md

@ -73,7 +73,7 @@ Create a new razor page, `Index.cshtml` under the `Pages/Authors` folder of the
<abp-column size-md="_6"> <abp-column size-md="_6">
<abp-card-title>@L["Authors"]</abp-card-title> <abp-card-title>@L["Authors"]</abp-card-title>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
@if (await AuthorizationService @if (await AuthorizationService
.IsGrantedAsync(BookStorePermissions.Authors.Create)) .IsGrantedAsync(BookStorePermissions.Authors.Create))
{ {
@ -722,8 +722,8 @@ Open the `/src/app/author/author.component.html` and replace the content as belo
{%{{{ '::Menu:Authors' | abpLocalization }}}%} {%{{{ '::Menu:Authors' | abpLocalization }}}%}
</h5> </h5>
</div> </div>
<div class="text-right col col-md-6"> <div class="text-end col col-md-6">
<div class="text-lg-right pt-2"> <div class="text-lg-end pt-2">
<button *abpPermission="'BookStore.Authors.Create'" id="create" class="btn btn-primary" type="button" (click)="createAuthor()"> <button *abpPermission="'BookStore.Authors.Create'" id="create" class="btn btn-primary" type="button" (click)="createAuthor()">
<i class="fa fa-plus mr-1"></i> <i class="fa fa-plus mr-1"></i>
<span>{%{{{ '::NewAuthor' | abpLocalization }}}%}</span> <span>{%{{{ '::NewAuthor' | abpLocalization }}}%}</span>

4
docs/en/UI/Angular/Component-Replacement.md

@ -227,7 +227,7 @@ Open the generated `routes.component.html` in `src/app/routes` folder and replac
abpEllipsis="210px" abpEllipsis="210px"
[abpEllipsisEnabled]="!smallScreen" [abpEllipsisEnabled]="!smallScreen"
role="button" role="button"
class="btn d-block text-left dropdown-toggle" class="btn d-block text-start dropdown-toggle"
> >
<i class="fa fa-id-card-o"></i> <i class="fa fa-id-card-o"></i>
{%{{{ 'AbpIdentity::Menu:IdentityManagement' | abpLocalization }}}%} {%{{{ 'AbpIdentity::Menu:IdentityManagement' | abpLocalization }}}%}
@ -264,7 +264,7 @@ Open the generated `routes.component.html` in `src/app/routes` folder and replac
abpEllipsis="210px" abpEllipsis="210px"
[abpEllipsisEnabled]="!smallScreen" [abpEllipsisEnabled]="!smallScreen"
role="button" role="button"
class="btn d-block text-left dropdown-toggle" class="btn d-block text-start dropdown-toggle"
> >
<i class="fa fa-users"></i> <i class="fa fa-users"></i>
{%{{{ 'AbpTenantManagement::Menu:TenantManagement' | abpLocalization }}}%} {%{{{ 'AbpTenantManagement::Menu:TenantManagement' | abpLocalization }}}%}

2
docs/en/UI/Angular/How-Replaceable-Components-Work-with-Extensions.md

@ -171,7 +171,7 @@ Open the generated `src/app/my-role/my-role.component.html` file and replace its
<div class="col col-md-6"> <div class="col col-md-6">
<h5 class="card-title">My Roles</h5> <h5 class="card-title">My Roles</h5>
</div> </div>
<div class="text-right col col-md-6"> <div class="text-end col col-md-6">
<abp-page-toolbar [record]="data.items"></abp-page-toolbar> <abp-page-toolbar [record]="data.items"></abp-page-toolbar>
</div> </div>
</div> </div>

2
docs/en/UI/AspNetCore/Tag-Helpers/Figure.md

@ -7,7 +7,7 @@ Basic usage:
````html ````html
<abp-figure> <abp-figure>
<abp-image src="..." class="img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure."> <abp-image src="..." class="img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure.">
<abp-figcaption class="text-right">A caption for the above image.</abp-figcaption> <abp-figcaption class="text-end">A caption for the above image.</abp-figcaption>
</abp-figure> </abp-figure>
```` ````

2
docs/en/UI/AspNetCore/Theming.md

@ -363,7 +363,7 @@ Another pre-defined section is the Content Toolbar section which can be used by
````html ````html
<div id="AbpContentToolbar"> <div id="AbpContentToolbar">
<div class="text-right mb-2"> <div class="text-end mb-2">
@RenderSection("content_toolbar", false) @RenderSection("content_toolbar", false)
</div> </div>
</div> </div>

2
docs/pt-BR/Tutorials/Angular/Part-II.md

@ -108,7 +108,7 @@ Adicione um botão rotulado `New book`para mostrar o modal:
Books Books
</h5> </h5>
</div> </div>
<div class="text-right col col-md-6"> <div class="text-end col col-md-6">
<button id="create-role" class="btn btn-primary" type="button" (click)="createBook()"> <button id="create-role" class="btn btn-primary" type="button" (click)="createBook()">
<i class="fa fa-plus mr-1"></i> <span>New book</span> <i class="fa fa-plus mr-1"></i> <span>New book</span>
</button> </button>

2
docs/pt-BR/Tutorials/AspNetCore-Mvc/Part-II.md

@ -113,7 +113,7 @@ Abra `Pages/Books/Index.cshtml`e altere a `abp-card-header`tag, como mostrado ab
<abp-column size-md="_6"> <abp-column size-md="_6">
<h2>@L["Books"]</h2> <h2>@L["Books"]</h2>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
<abp-button id="NewBookButton" <abp-button id="NewBookButton"
text="@L["NewBook"].Value" text="@L["NewBook"].Value"
icon="plus" icon="plus"

2
docs/zh-Hans/Tutorials/Part-2.md

@ -517,7 +517,7 @@ export class BookComponent implements OnInit {
{%{{{ '::Menu:Books' | abpLocalization }}}%} {%{{{ '::Menu:Books' | abpLocalization }}}%}
</h5> </h5>
</div> </div>
<div class="text-right col col-md-6"></div> <div class="text-end col col-md-6"></div>
</div> </div>
</div> </div>
<div class="card-body"> <div class="card-body">

8
docs/zh-Hans/Tutorials/Part-3.md

@ -149,7 +149,7 @@ namespace Acme.BookStore.Web.Pages.Books
<abp-column size-md="_6"> <abp-column size-md="_6">
<abp-card-title>@L["Books"]</abp-card-title> <abp-card-title>@L["Books"]</abp-card-title>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
<abp-button id="NewBookButton" <abp-button id="NewBookButton"
text="@L["NewBook"].Value" text="@L["NewBook"].Value"
icon="plus" icon="plus"
@ -179,7 +179,7 @@ namespace Acme.BookStore.Web.Pages.Books
<abp-column size-md="_6"> <abp-column size-md="_6">
<abp-card-title>@L["Books"]</abp-card-title> <abp-card-title>@L["Books"]</abp-card-title>
</abp-column> </abp-column>
<abp-column size-md="_6" class="text-right"> <abp-column size-md="_6" class="text-end">
<abp-button id="NewBookButton" <abp-button id="NewBookButton"
text="@L["NewBook"].Value" text="@L["NewBook"].Value"
icon="plus" icon="plus"
@ -691,10 +691,10 @@ export class BookComponent implements OnInit {
<div class="col col-md-6"> <div class="col col-md-6">
<h5 class="card-title">{%{{{ '::Menu:Books' | abpLocalization }}}%}</h5> <h5 class="card-title">{%{{{ '::Menu:Books' | abpLocalization }}}%}</h5>
</div> </div>
<div class="text-right col col-md-6"> <div class="text-end col col-md-6">
<!-- Add the "new book" button here --> <!-- Add the "new book" button here -->
<div class="text-lg-right pt-2"> <div class="text-lg-end pt-2">
<button id="create" class="btn btn-primary" type="button" (click)="createBook()"> <button id="create" class="btn btn-primary" type="button" (click)="createBook()">
<i class="fa fa-plus mr-1"></i> <i class="fa fa-plus mr-1"></i>
<span>{%{{{ "::NewBook" | abpLocalization }}}%}</span> <span>{%{{{ "::NewBook" | abpLocalization }}}%}</span>

2
docs/zh-Hans/UI/Angular/Component-Replacement.md

@ -490,7 +490,7 @@ export class NavItemsComponent implements AfterViewInit {
{%{{{ (currentUser$ | async)?.userName }}}%} {%{{{ (currentUser$ | async)?.userName }}}%}
</a> </a>
<div <div
class="dropdown-menu dropdown-menu-right border-0 shadow-sm" class="dropdown-menu dropdown-menu-end border-0 shadow-sm"
aria-labelledby="dropdownMenuLink" aria-labelledby="dropdownMenuLink"
[class.d-block]="smallScreen && currentUserDropdown.isOpen()" [class.d-block]="smallScreen && currentUserDropdown.isOpen()"
> >

Loading…
Cancel
Save