<% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data @venue_management_memorabilia = data["venue_management_memorabilia"] @params = data['params'] %> <% if !@venue_management_memorabilia.venue_management_files.blank? %> <% end %> <% if !@venue_management_memorabilia.venue_management_links.blank? %> <% end %>
<%= t('vm_memorabilia.case_no') %> <%= @venue_management_memorabilia.case_no %>
<%= t('vm_memorabilia.event_date') %> <%= @venue_management_memorabilia.event_date %>
<%= t('vm_memorabilia.details') %> <%= @venue_management_memorabilia.details %>
<%= t(:file_) %> <% @venue_management_memorabilia.venue_management_files.map do |file| %> <%= link_to (file.title.blank? ? File.basename(file.file.path) : file.title) , file.file.url, {:target => '_blank', :title => file.description} if file.file.file %> <% end %>
<%= t(:link) %> <% @venue_management_memorabilia.venue_management_links.map do |link| %> <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %> <% end %>

<%= link_to t(:close), 'javascript:window.close();', :class => 'btn btn-primary' %>