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/items/index.html.erb

24 lines
702 B
Plaintext

<% content_for :sidebar do %>
<%= render 'admin/items/site_map_left_bar' %>
<% end -%>
<% content_for :page_specific_javascript do %>
<!-- <script type="text/javascript" charset="utf-8">
$('a.sidebar_link').live( "click", function(){
$(this).removeClass('sidebar_link');
$('.sidebar_no_link').addClass('sidebar_link');
$('.sidebar_no_link').removeClass('sidebar_no_link');
$(this).addClass('sidebar_no_link');
});
</script> -->
<% end -%>
<% content_for :page_specific_css do %>
<!-- <style type="text/css">
.sidebar_no_link {
pointer-events: none;
cursor: default;
}
</style> -->
<% end %>
<%= render "admin/#{@item._type.downcase.pluralize}/show" %>