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> <td>
<%= page_context.page.path %> <%= page_context.page.path %></br>
<%= page_context.page.i18n_variable[I18n.locale] %>
<div class="quick-edit"> <div class="quick-edit">
<ul class="nav nav-pills hide"> <ul class="nav nav-pills hide">
<%if is_manager? || is_admin? || page_context.authed_users(:edit).include?(current_user)%> <%if is_manager? || is_admin? || page_context.authed_users(:edit).include?(current_user)%>