Fix reviews submenu #7

Merged
merged 5 commits into from Feb 22, 2017

Projects

None yet

2 participants

@mdamian322
Contributor

There was some file structure that probably changed when we moved to Solidus. Fixed the path and changed the reviews_tab file to DSL format.
https://app.asana.com/0/263330274018170/179365294189275

Michelle Damian Fix reviews submenu 23ab226
Michelle Damian Rubocop 6895587
Michelle Damian added some commits Feb 14, 2017
@@ -66,7 +66,7 @@
<td><%= link_to_if review.ip_address, review.ip_address, "http://whois.domaintools.com/#{review.ip_address}", target: :blank %></td>
<td><%= l review.created_at, format: :short %></td>
<td data-hook="admin_reviews_index_row_actions" class="actions">
- <%= link_to_with_icon 'save', Spree.t(:approve), approve_admin_review_url(review), no_text: true, class: 'approve btn btn-default' unless review.approved %>
+ <%= link_to_with_icon 'save', Spree.t(:approve), approve_admin_review_url(review), no_text: true, class: 'save-mehtod' unless review.approved %>
@ericsaupe
ericsaupe Feb 16, 2017 Member

Changing these classes is breaking your tests and will probably change how this button is displayed.

@mdamian322 mdamian322 merged commit 0f9de26 into master Feb 22, 2017

1 check passed

ci/circleci Your tests passed on CircleCI!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment