This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/links/_show.html.erb

24 lines
472 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>
<%= @item.i18n_variable[locale] if @item.i18n_variable %>
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' %>