Orbit/app/views/admin/links/_show.html.erb

24 lines
455 B
Plaintext

<%= flash_messages %>
<p>
<b><%= t('admin.name') %></b>
<%= @item.name %>
</p>
<% @site_valid_locales.each do |locale| %>
<p>
<b><%= "#{t('admin.title')} #{locale}" %></b>
<%= @item.i18n_variable[locale] if @item.i18n_variable %>
</p>
<% end %>
<p>
<b><%= t('admin.is_published') %></b>
<%= @item.is_published.to_s %>
</p>
<p>
<b><%= t('admin.url') %></b>
<%= @item.url %>
</p>
<%= link_to t(:edit), edit_admin_link_path(@item) %>