Add each page name to page_context index

This commit is contained in:
Christophe Vilayphiou 2012-05-15 21:31:54 +08:00
parent e54f4409fb
commit 3462c0e319
1 changed files with 23 additions and 23 deletions

View File

@ -1,7 +1,7 @@
<tr id="<%= dom_id page_context %>" class="with_action">
<tr id="<%= dom_id page_context %>" class="with_action">
<td>
<%= page_context.page.path %>
<%= page_context.page.path %></br>
<%= page_context.page.i18n_variable[I18n.locale] %>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<%if is_manager? || is_admin? || page_context.authed_users(:edit).include?(current_user)%>
@ -20,4 +20,4 @@
</td>
<td><%= page_context.updated_at.strftime("%Y-%m-%d %H:%I:%S") %></td>
<td><%= User.find(page_context.create_user_id).name %></td>
</tr>
</tr>