orbit-basic/app/views/admin/links/_show.html.erb

24 lines
469 B
Plaintext
Raw Normal View History

2011-05-13 01:08:42 +00:00
<%= flash_messages %>
<p>
<b><%= t('admin.name') %></b>
<%= @item.name %>
2011-05-13 01:08:42 +00:00
</p>
<% @site_valid_locales.each do |locale| %>
<p>
<b><%= "#{t('admin.title')} #{locale}" %></b>
2012-07-25 21:58:09 +00:00
<%= @item.title_translations[locale] if @item.title %>
2011-05-13 01:08:42 +00:00
</p>
<% end %>
<p>
<b><%= t('admin.is_published') %></b>
<%= @item.is_published.to_s %>
2011-05-13 01:08:42 +00:00
</p>
<p>
<b><%= t('admin.url') %></b>
<%= @item.url %>
2011-05-13 01:08:42 +00:00
</p>
<%= link_to t(:edit), edit_admin_link_path(@item), :class => 'nav' %>