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

24 lines
455 B
Plaintext
Raw Normal View History

2011-05-13 01:08:42 +00:00
<%= flash_messages %>
<p>
<b><%= t('admin.name') %></b>
<%= @link.name %>
</p>
<% @site_valid_locales.each do |locale| %>
<p>
<b><%= "#{t('admin.title')} #{locale}" %></b>
<%= @link.i18n_variable[locale] if @link.i18n_variable %>
</p>
<% end %>
<p>
<b><%= t('admin.is_published') %></b>
<%= @link.is_published.to_s %>
</p>
<p>
<b><%= t('admin.url') %></b>
<%= @link.url %>
</p>
<%= link_to t(:edit), edit_admin_link_path(@link) %>