Sha256: 0f81e02ef034f3ac8f5e6b846ef87a63b64f9d3b13c5e11a998ca263b8268925
Contents?: true
Size: 1.56 KB
Versions: 1
Compression:
Stored size: 1.56 KB
Contents
.payment_status - unless current_account.blank? = render partial: 'account/submenu' .content .operation_status.success_status h2 #{ I18n.t(:dear, scope: [:new_order, :popups])} #{current_account.try(:profile).try(:name) || 'user'} - if @order.present? && @order.pending? strong = t(:thank_you, scope: [:new_order, :popups]) = render partial: 'evaluation_terms' - else strong = t(:thank_you_payment, scope: [:new_order, :popups]) = render partial: 'success_terms' .operation_status_links - if @order.present? - if @order.pending? = link_to t(:go_project, scope: [:new_order, :popups]), account_order_path(@order.number), class: 'button button_project' = link_to t(:start_project, scope: [:new_order, :popups]), new_order_path, class: 'button button_proceed' - else = link_to t(:go_project, scope: [:new_order, :popups]), account_order_path(@order.number), class: 'button button_project' - else = link_to t(:projects_page, scope: [:new_order, :popups]), account_dashboard_path, class: 'button button_project' - if session[:payment_price] - if TranslationCms.ecommerce = render partial: 'ecommerce' javascript: document.addEventListener("DOMContentLoaded", function(event) { if (typeof(fbq) !== 'undefined') { fbq('track', 'Purchase', { value: '#{session[:payment_price]}', currency: 'USD', content_ids: '#{session[:payment_id]}', content_type: 'purchase' }); } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/views/payments/integrations/success.html.slim |