diff options
Diffstat (limited to 'app/views/revisions/show.html.erb')
| -rw-r--r-- | app/views/revisions/show.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index a39071c6..addcfa1a 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | <% translation = @page.translations.find_by(:locale => @locale) %> | 1 | <% translation = @page.translations.find_by(:locale => @translation_locale) %> |
| 2 | <div id="admin_layout" class="show_node"> | 2 | <div id="admin_layout" class="show_node"> |
| 3 | <h1><%= t(".title", :rev => @page.revision) %>: <%= translation&.title %> <small>(<%= @locale.to_s.upcase %>)</small></h1> | 3 | <h1><%= t(".title", :rev => @page.revision) %>: <%= translation&.title %> <small>(<%= @translation_locale.to_s.upcase %>)</small></h1> |
| 4 | 4 | ||
| 5 | <div id="content"> | 5 | <div id="content"> |
| 6 | <div class="layout_row_label"><%= t("admin.columns.actions") %></div> | 6 | <div class="layout_row_label"><%= t("admin.columns.actions") %></div> |
| 7 | <div class="layout_row_content info_group"> | 7 | <div class="layout_row_content info_group"> |
| 8 | <div class="info_group_items"> | 8 | <div class="info_group_items"> |
| 9 | <div class="info_item"> | 9 | <div class="info_item"> |
| 10 | <%= link_to t(".show_all"), node_revisions_path(@node, :locale => @locale) %> | 10 | <%= link_to t(".show_all"), node_revisions_path(@node, :translation_locale => @translation_locale) %> |
| 11 | </div> | 11 | </div> |
| 12 | </div> | 12 | </div> |
| 13 | </div> | 13 | </div> |
