Sha256: 391c17da24fed5da2396a282f760e83b560200c23a201872a1fb76033a347b44
Contents?: true
Size: 1.92 KB
Versions: 8
Compression:
Stored size: 1.92 KB
Contents
<div class="resource_info"> <% if @page.has_hint? %> <%= render_message do %> <%= @page.hint %> <% end %> <% end %> <div class="value"> <label> <% if @page.definition.blank? %> <%= page_layout_missing_warning %> <% end %> <%= Alchemy::Page.human_attribute_name(:page_layout) %> </label> <p><%= @page.layout_display_name %></p> </div> <div class="value"> <% if @page.definition['redirects_to_external'] %> <label><%= Alchemy::Page.human_attribute_name(:urlname) %></label> <p><%= @page.urlname %></p> <% else %> <label><%= Alchemy::Page.human_attribute_name(:urlname) %></label> <p><%= "/#{@page.urlname}" %></p> <% end %> </div> <div class="value"> <label><%= Alchemy.t(:page_status) %></label> <p> <span class="page_status"> <%= render_icon(:compass, transform: 'shrink-2', class: @page.public? ? nil : 'disabled') %> <%= @page.status_title(:public) %> </span> <span class="page_status"> <%= render_icon(:eye, transform: 'shrink-2', class: @page.visible? ? nil : 'disabled') %> <%= @page.status_title(:visible) %> </span> <span class="page_status"> <%= render_icon(:lock, transform: 'shrink-2', class: @page.restricted? ? nil : 'disabled') %> <%= @page.status_title(:restricted) %> </span> </p> </div> <div class="value"> <label><%= Alchemy.t(:page_was_created) %></label> <p><%= Alchemy.t(:from_at) % {by: @page.creator_name, at: l(@page.created_at, format: :'alchemy.page_status')} %></p> </div> <div class="value"> <label><%= Alchemy.t(:page_was_updated) %></label> <p><%= Alchemy.t(:from_at) % {by: @page.updater_name, at: l(@page.updated_at, format: :'alchemy.page_status')} %></p> </div> <% if @page.locked? %> <div class="value"> <label><%= Alchemy.t(:currently_edited_by) %></label> <p><%= @page.locker_name %></p> </div> <% end %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems