Sha256: eee066a835fac7c1e65149f4559e2ab8403043ac2bcdb177c53bf95d6e47ca76

Contents?: true

Size: 500 Bytes

Versions: 19

Compression:

Stored size: 500 Bytes

Contents

notice_div = $('.flash.notice');
<% notice = flash.delete(:notice)
if notice %>
  if (notice_div.length > 0) {
    notice_div.html("<%= notice %>");
    notice_div.show();
  } else {
    if ($("#content .toolbar").length > 0) {
      $("#content .toolbar").before('<div class="flash notice"><%= notice %></div>');
    } else {
      $("#content h1").before('<div class="flash notice"><%= notice %></div>');
    }
  } <%
end %>

<%= render(:partial => "/admin/shared/update_order_state") if @order %>

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/shared/_destroy.js.erb
My-Commerce_core-1.1.0 app/views/admin/shared/_destroy.js.erb
My-Commerce_core-1.0.0 app/views/admin/shared/_destroy.js.erb
MyCommerceapi-1.0.0 core/app/views/admin/shared/_destroy.js.erb
MyCommerce-0.0.3 core/app/views/admin/shared/_destroy.js.erb
rfcommerce_core-0.0.3 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.6 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.5 app/views/admin/shared/_destroy.js.erb
spree_core-0.50.4 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.4 app/views/admin/shared/_destroy.js.erb
spree_core-0.50.3 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.3 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.2 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.1 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.0 app/views/admin/shared/_destroy.js.erb
spree_core-0.60.0.RC1 app/views/admin/shared/_destroy.js.erb
spree_core-0.50.2 app/views/admin/shared/_destroy.js.erb
spree_core-0.50.1 app/views/admin/shared/_destroy.js.erb
spree_core-0.50.0 app/views/admin/shared/_destroy.js.erb