mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
use html_safe instead of raw amatsuda/kaminari#73
This commit is contained in:
parent
b84a4f99e7
commit
d45f46a3b1
15 changed files with 15 additions and 15 deletions
|
@ -7,5 +7,5 @@
|
|||
remote: data-remote
|
||||
-%>
|
||||
<span class="first">
|
||||
<%= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote %>
|
||||
<%= link_to_unless current_page.first?, t('views.pagination.first').html_safe, url, :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
-# per_page: number of items to fetch per page
|
||||
-# remote: data-remote
|
||||
%span.first
|
||||
= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote
|
||||
= link_to_unless current_page.first?, t('views.pagination.first').html_safe, url, :remote => remote
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
per_page : number of items to fetch per page
|
||||
remote : data-remote
|
||||
span.first
|
||||
== link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote
|
||||
== link_to_unless current_page.first?, t('views.pagination.first').html_safe, url, :remote => remote
|
||||
'
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
-%>
|
||||
<span class="page gap"><%= raw(t 'views.pagination.truncate') %></span>
|
||||
<span class="page gap"><%= t('views.pagination.truncate').html_safe %></span>
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
-# per_page: number of items to fetch per page
|
||||
-# remote: data-remote
|
||||
%span.page.gap
|
||||
= raw(t 'views.pagination.truncate')
|
||||
= t('views.pagination.truncate').html_safe
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
per_page : number of items to fetch per page
|
||||
remote : data-remote
|
||||
span.page.gap
|
||||
== raw(t 'views.pagination.truncate')
|
||||
== t('views.pagination.truncate').html_safe
|
||||
'
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
remote: data-remote
|
||||
-%>
|
||||
<span class="last">
|
||||
<%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote %>
|
||||
<%= link_to_unless current_page.last?, t('views.pagination.last').html_safe, url, :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
-# per_page: number of items to fetch per page
|
||||
-# remote: data-remote
|
||||
%span.last
|
||||
= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote
|
||||
= link_to_unless current_page.last?, t('views.pagination.last').html_safe, url, :remote => remote
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
per_page : number of items to fetch per page
|
||||
remote : data-remote
|
||||
span.last
|
||||
== link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote
|
||||
== link_to_unless current_page.last?, t('views.pagination.last').html_safe, url, :remote => remote
|
||||
'
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
remote: data-remote
|
||||
-%>
|
||||
<span class="next">
|
||||
<%= link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, :rel => 'next', :remote => remote %>
|
||||
<%= link_to_unless current_page.last?, t('views.pagination.next').html_safe, url, :rel => 'next', :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
-# per_page: number of items to fetch per page
|
||||
-# remote: data-remote
|
||||
%span.next
|
||||
= link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, :rel => 'next', :remote => remote
|
||||
= link_to_unless current_page.last?, t('views.pagination.next').html_safe, url, :rel => 'next', :remote => remote
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
per_page : number of items to fetch per page
|
||||
remote : data-remote
|
||||
span.next
|
||||
== link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, :rel => 'next', :remote => remote
|
||||
== link_to_unless current_page.last?, t('views.pagination.next').html_safe, url, :rel => 'next', :remote => remote
|
||||
'
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
remote: data-remote
|
||||
-%>
|
||||
<span class="prev">
|
||||
<%= link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote %>
|
||||
<%= link_to_unless current_page.first?, t('views.pagination.previous').html_safe, url, :rel => 'prev', :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
-# per_page: number of items to fetch per page
|
||||
-# remote: data-remote
|
||||
%span.prev
|
||||
= link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote
|
||||
= link_to_unless current_page.first?, t('views.pagination.previous').html_safe, url, :rel => 'prev', :remote => remote
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
per_page : number of items to fetch per page
|
||||
remote : data-remote
|
||||
span.prev
|
||||
== link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote
|
||||
== link_to_unless current_page.first?, t('views.pagination.previous').html_safe, url, :rel => 'prev', :remote => remote
|
||||
'
|
||||
|
|
Loading…
Reference in a new issue