Skip to content

Commit

Permalink
Updated admin actions to be rendered like core actions
Browse files Browse the repository at this point in the history
  • Loading branch information
johanb committed Oct 8, 2012
1 parent d90c521 commit 302a70f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions app/views/spree/admin/pages/index.html.erb
@@ -1,13 +1,10 @@
<div class='toolbar'>
<ul class='actions'>
<li id="new_product_link">
<%= button_link_to t("static_content.new_page"), new_object_url, {:icon => 'add'} %>
</li>
</ul>
<br class='clear' />
</div>
<% content_for :page_actions do %>
<li><%= button_link_to t("static_content.new_page"), new_object_url, :icon => 'icon-plus' %></li>
<% end %>
<h1><%=t("static_content.static_pages") %></h1>
<% content_for :page_title do %>
<i class="icon-arrow-right"></i> <%= t("static_content.static_pages") %>
<% end %>

<table class="index">
<tr>
Expand Down

0 comments on commit 302a70f

Please sign in to comment.