diff --git a/lib/gollum/locales/en.yml b/lib/gollum/locales/en.yml index 14ffc520..ff2fe054 100644 --- a/lib/gollum/locales/en.yml +++ b/lib/gollum/locales/en.yml @@ -8,3 +8,14 @@ en: revert: Revert Changes precious/views/error: error: Error + precious/views/history: + browse_in_history_description: Browse the page at this point in the history + compare_revisions: Compare Revisions + history_for: History for + pagination: + aria: + label: Pagination + next_page: Next page + previous_page: Previous page + next: Next + previous: Previous diff --git a/lib/gollum/templates/history.mustache b/lib/gollum/templates/history.mustache index 6d4c196b..8ea0a3dc 100644 --- a/lib/gollum/templates/history.mustache +++ b/lib/gollum/templates/history.mustache @@ -4,7 +4,7 @@

- History for + {{t.history_for}} {{name}}

@@ -14,32 +14,41 @@ {{>pagination}} -
+
-
-
- -
-
- +
+
+ +
+
- - + diff --git a/lib/gollum/templates/pagination.mustache b/lib/gollum/templates/pagination.mustache index a100f97f..76198d5f 100644 --- a/lib/gollum/templates/pagination.mustache +++ b/lib/gollum/templates/pagination.mustache @@ -1,6 +1,23 @@ - diff --git a/lib/gollum/views/pagination.rb b/lib/gollum/views/pagination.rb index c7b50720..68207ec7 100644 --- a/lib/gollum/views/pagination.rb +++ b/lib/gollum/views/pagination.rb @@ -10,4 +10,4 @@ module Precious @page_num == 1 ? nil : (@page_num - 1).to_s end end -end \ No newline at end of file +end