Sha256: 5181ae6ee73a0bfd84188a193b05eb8c27dc78e9c6631b2b4f037ef1ab14d779

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

<% content_for :sidebar_title do %>
  <%= t("spree.admin.subscriptions.edit.sidebar") %>
<% end %>

<% content_for :sidebar do %>
  <nav class="menu">
    <fieldset class="no-border-top no-border-bottom" data-hook="admin_user_lifetime_stats">
      <dl id="user-lifetime-stats">
        <dt><%= SolidusSubscriptions::Subscription.human_attribute_name(:created_at) %>:</dt>
        <dd><%= l(subscription.created_at.to_date) %></dd>
        <dt><%= SolidusSubscriptions::Subscription.human_attribute_name(:state) %>:</dt>
        <dd><%= render 'spree/admin/subscriptions/state_pill', subscription: subscription %></dd>
        <dt><%= SolidusSubscriptions::Subscription.human_attribute_name(:processing_state) %>:</dt>
        <dd><%= render 'spree/admin/subscriptions/processing_state_pill', subscription: subscription %></dd>
      </dl>
    </fieldset>
  </nav>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_subscriptions-1.0.0 app/views/spree/admin/shared/_subscription_sidebar.html.erb
solidus_subscriptions-1.0.0.rc1 app/views/spree/admin/shared/_subscription_sidebar.html.erb