lib/generators/dash/templates/pager.erb in rails_dash-0.0.2 vs lib/generators/dash/templates/pager.erb in rails_dash-0.0.3

- old
+ new

@@ -1,14 +1,14 @@ - pager = paginate(collection) - if pager.has_multiple_pages? #pager - if pager.has_first_page? %a.first{ :href => pager.first_page_path } - = t('global.first') + = t('dash.pager.first') - if pager.has_previous_page? %a.previous{ :href => pager.previous_page_path } - = t('global.previous') + = t('dash.pager.previous') - if pager.navigation.has_less_pages? %span.ellipsis ... - for page in pager.navigation.pages - if pager.is_current_page? page %span.page.current @@ -18,9 +18,9 @@ = page - if pager.navigation.has_more_pages? %span.ellipsis ... - if pager.has_next_page? %a.next{ :href => pager.next_page_path } - = t('global.next') + = t('dash.pager.next') - if pager.has_last_page? %a.last{ :href => pager.last_page_path } - = t('global.last') + = t('dash.pager.last')