orbit-basic/app/views/admin/items/index.html.erb

24 lines
726 B
Plaintext
Raw Normal View History

<% content_for :sidebar do %>
2011-05-13 01:08:42 +00:00
<div id='sidebar'><%= render 'admin/items/site_map_left_bar' %></div>
<% end -%>
<% content_for :page_specific_javascript do %>
2011-05-13 01:08:42 +00:00
<!-- <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');
});
2011-05-13 01:08:42 +00:00
</script> -->
<% end -%>
<% content_for :page_specific_css do %>
2011-05-13 01:08:42 +00:00
<!-- <style type="text/css">
.sidebar_no_link {
pointer-events: none;
cursor: default;
}
2011-05-13 01:08:42 +00:00
</style> -->
<% end %>
2011-05-13 01:08:42 +00:00
<%= render "admin/#{@item._type.downcase.pluralize}/show" %>