Skip to content

Commit

Permalink
Update button classes for bootstrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Dutil authored and Jeff Dutil committed Jan 13, 2015
1 parent cda7fbe commit 535ab37
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
@@ -1,5 +1,4 @@
<!-- insert_bottom 'td.actions' -->

<% if f.object.persisted? %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('option_values', f.object.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-default' %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('option_values', f.object.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary' %>
<% end %>
@@ -1,2 +1,2 @@
<!-- insert_bottom 'td.actions' -->
<%= link_to_with_icon 'translate', nil, admin_translations_path('option_types', option_type.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-default' %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('option_types', option_type.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary' %>
@@ -1,4 +1,4 @@
<!-- insert_bottom 'td.actions' -->
<% if f.object.persisted? %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('product_property', f.object.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-default' %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('product_property', f.object.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary' %>
<% end %>
@@ -1,2 +1,2 @@
<!-- insert_bottom 'td.actions' -->
<%= link_to_with_icon 'translate', nil, admin_translations_path('promotions', promotion.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-default' %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('promotions', promotion.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary' %>
@@ -1,2 +1,2 @@
<!-- insert_bottom 'td.actions' -->
<%= link_to_with_icon 'translate', nil, admin_translations_path('properties', property.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-default' %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('properties', property.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary' %>
@@ -1,2 +1,2 @@
<!-- insert_bottom 'td.actions' -->
<%= link_to_with_icon 'translate', nil, admin_translations_path('taxonomies', taxonomy.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-default' %>
<%= link_to_with_icon 'translate', nil, admin_translations_path('taxonomies', taxonomy.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary' %>

0 comments on commit 535ab37

Please sign in to comment.