app/views/caboose/posts/_admin_header.html.erb in caboose-cms-0.9.229 vs app/views/caboose/posts/_admin_header.html.erb in caboose-cms-1.0.1

- old
+ new

@@ -13,14 +13,9 @@ "/admin/posts/#{@post.id}/content" => 'Content', "/admin/posts/#{@post.id}/categories" => 'Categories', "/admin/posts/#{@post.id}/delete" => 'Delete Post' } -if @site.use_change_logs && Caboose::ChangeLog.where(:post_id => @post.id).exists? && @logged_in_user.is_allowed('logs','view') - arr = tabs.to_a.insert(4, ["/admin/posts/#{@post.id}/logs", "Change Logs"]) - tabs = Hash[arr] -end - %> <% tabs.each do |href,text| %> <li<%= raw request.fullpath == href ? " class='selected'" : '' %>><a href='<%= href %>'><%= raw text %></a></li> <% end %> <li class='back'><input type='button' value='< Back' onclick="window.location='/admin/posts';" /></li>