Skip to content

Commit

Permalink
file i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 7, 2023
1 parent 26e0000 commit b72419c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/work-design/rails_design.git
revision: 2c9a09d68bb237b99a78dc83817310ddf0f4ce1a
revision: 558d24d78793a0d02231ff6a6cd6b3755dc4ffcb
specs:
rails_design (0.0.1)
rails
Expand Down
2 changes: 2 additions & 0 deletions app/views/application/_filter_per.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
</div>
</div>
<div>
<% if instance_variable_get("@#{pluralize_model_name}").respond_to?(:total_pages) %>
<span><%= instance_variable_get("@#{pluralize_model_name}").total_pages %></span>
<span>/</span>
<span><%= instance_variable_get("@#{pluralize_model_name}").total_count %></span>
<% end %>
</div>
File renamed without changes.
File renamed without changes.

0 comments on commit b72419c

Please sign in to comment.