Sha256: b800a21fabc421f8466c96b3a6d47076eed66751fd797324e9d02657d7ce366a

Contents?: true

Size: 1.22 KB

Versions: 9

Compression:

Stored size: 1.22 KB

Contents

<div class="resource_info">
  <% if @page.has_hint? %>
  <%= render_message do %>
    <%= @page.hint %>
  <% end %>
  <% end %>
  <div class="value">
    <label><%= Alchemy::Page.human_attribute_name(:page_layout) %></label>
    <p><%= @page.layout_display_name %></p>
  </div>
  <div class="value">
  <% if @page.redirects_to_external? %>
    <label><%= Alchemy::Page.human_attribute_name(:urlname) %></label>
    <p><%= @page.urlname %></p>
  <% else %>
    <label><%= Alchemy::LegacyPageUrl.human_attribute_name(:urlname) %></label>
    <p><%= "/#{@page.urlname}" %></p>
  <% end %>
  </div>
  <div class="value">
    <label><%= _t(:page_status) %></label>
    <p><%= combined_page_status(@page) %></p>
  </div>
  <div class="value">
    <label><%= _t(:page_was_created) %></label>
    <p><%= _t(:from_at) % {by: @page.creator_name, at: l(@page.created_at, format: :page_status)} %></p>
  </div>
  <div class="value">
    <label><%= _t(:page_was_updated) %></label>
    <p><%= _t(:from_at) % {by: @page.updater_name, at: l(@page.updated_at, format: :page_status)} %></p>
  </div>
  <% if @page.locked? %>
  <div class="value">
    <label><%= _t(:currently_edited_by) %></label>
    <p><%= @page.locker_name %></p>
  </div>
  <% end %>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/pages/info.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/pages/info.html.erb