From 3462c0e3192f2d22ff01cf01e79623c5e442aa6c Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Tue, 15 May 2012 21:31:54 +0800 Subject: [PATCH] Add each page name to page_context index --- .../page_contexts/_page_context.html.erb | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb b/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb index d2f5cfa1..036cb6e0 100644 --- a/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb +++ b/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb @@ -1,23 +1,23 @@ - - - - <%= page_context.page.path %> -
- -
- - - <%if is_manager? || is_admin? || page_context.authed_users(:edit).include?(current_user)%> - <%= link_to page_context.version, panel_page_content_back_end_view_path(page_context.page_id) %> - <%end -%> - - <%= page_context.updated_at.strftime("%Y-%m-%d %H:%I:%S") %> - <%= User.find(page_context.create_user_id).name %> - \ No newline at end of file + + + <%= page_context.page.path %>
+ <%= page_context.page.i18n_variable[I18n.locale] %> +
+ +
+ + + <%if is_manager? || is_admin? || page_context.authed_users(:edit).include?(current_user)%> + <%= link_to page_context.version, panel_page_content_back_end_view_path(page_context.page_id) %> + <%end -%> + + <%= page_context.updated_at.strftime("%Y-%m-%d %H:%I:%S") %> + <%= User.find(page_context.create_user_id).name %> + \ No newline at end of file