Sha256: ce6f8e26a691fd7f186cb8e1265099990907c6dfa37ff23c2197924cca14bf27
Contents?: true
Size: 1.39 KB
Versions: 13
Compression:
Stored size: 1.39 KB
Contents
<div class="resource_info"> <% if @page.has_hint? %> <%= render_message do %> <%= @page.hint %> <% end %> <% end %> <div class="value"> <label> <% if @page.layout_description.blank? %> <span class="inline warning icon" title="<%= _t(:page_layout_description_missing) %>"></span> <% end %> <%= 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
13 entries across 13 versions & 2 rubygems