Browse Source
Merge pull request #19146 from abpframework/issue-3800
Previous and Next buttons fixed
pull/19180/head
Gizem Mutu Kurt
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
8 additions and
6 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml
|
|
@ -398,23 +398,25 @@ |
|
|
@if (Model.DocumentNavigationsDto.HasPrevious) |
|
|
@if (Model.DocumentNavigationsDto.HasPrevious) |
|
|
{ |
|
|
{ |
|
|
<a class="prev-link" href="@Model.CreateDocumentLink(Model.DocumentNavigationsDto.Previous.Path)"> |
|
|
<a class="prev-link" href="@Model.CreateDocumentLink(Model.DocumentNavigationsDto.Previous.Path)"> |
|
|
<span class="desc d-block"> |
|
|
<span class="desc"> |
|
|
<i class="fa fa-chevron-left me-1"></i> |
|
|
<i class="fa fa-chevron-left me-1"></i> |
|
|
@L["Previous"] |
|
|
@L["Previous"] |
|
|
</span> |
|
|
</span> |
|
|
<span class="title d-block">@Model.DocumentNavigationsDto.Previous.Name</span> |
|
|
<br /> |
|
|
|
|
|
<span class="title">@Model.DocumentNavigationsDto.Previous.Name</span> |
|
|
</a> |
|
|
</a> |
|
|
} |
|
|
} |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-6"> |
|
|
<div class="col-6 text-end"> |
|
|
@if (Model.DocumentNavigationsDto.HasNext) |
|
|
@if (Model.DocumentNavigationsDto.HasNext) |
|
|
{ |
|
|
{ |
|
|
<a class="next-link text-end" href="@Model.CreateDocumentLink(Model.DocumentNavigationsDto.Next.Path)"> |
|
|
<a class="next-link" href="@Model.CreateDocumentLink(Model.DocumentNavigationsDto.Next.Path)"> |
|
|
<span class="desc d-block"> |
|
|
<span class="desc"> |
|
|
@L["Next"] |
|
|
@L["Next"] |
|
|
<i class="fa fa-chevron-right ms-1"></i> |
|
|
<i class="fa fa-chevron-right ms-1"></i> |
|
|
</span> |
|
|
</span> |
|
|
<span class="title d-block">@Model.DocumentNavigationsDto.Next.Name</span> |
|
|
<br /> |
|
|
|
|
|
<span class="title">@Model.DocumentNavigationsDto.Next.Name</span> |
|
|
</a> |
|
|
</a> |
|
|
} |
|
|
} |
|
|
</div> |
|
|
</div> |
|
|
|