Update pagination.html
These strings are defined by humans and do not need to be humanized. Also humanize leads to wrong capitalization (only first letter is capitalized).
This commit is contained in:
parent
2a20fd917e
commit
c76b46c62a
@ -1,6 +1,6 @@
|
||||
{{ if or ( .Paginator.HasPrev ) ( .Paginator.HasNext ) }}
|
||||
{{ $toNewPostsMessage := i18n "toNewPosts" | humanize }}
|
||||
{{ $toOldPostsMessage := i18n "toOldPosts" | humanize }}
|
||||
{{ $toNewPostsMessage := i18n "toNewPosts" }}
|
||||
{{ $toOldPostsMessage := i18n "toOldPosts" }}
|
||||
<div class="pagination">
|
||||
<div class="left pagination-item {{ if not .Paginator.HasPrev }}disabled{{ end }}">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
@ -13,4 +13,4 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user