Sha256: 8b384102e4e7f3863ec506bdfa1d5dd408ec85fbd921a4c1e9e6fc959eaa9148

Contents?: true

Size: 1017 Bytes

Versions: 9

Compression:

Stored size: 1017 Bytes

Contents

<% if @bundle.present? %>
  <dl class="dl-horizontal">
    <dt>Id:</dt>
    <dd><%= @bundle.bundle_id %>&nbsp;</dd>
    <dt>Account:</dt>
    <dd><%= @account.name %>&nbsp;</dd>
    <dd><%= link_to @account.email, Kaui.account_home_path.call(@account.external_key) %>&nbsp;</dd>
    <dt>Bundle key:</dt>
    <dd><%= @bundle.external_key %>&nbsp;</dd>
    <dt>Overdue status:</dt>
    <% if @overdue_state.nil? %>
        <dd>unknown<dd>
    <% elsif @overdue_state.clear_state  %>
        <dd><span class='label label-success'>Good</span><dd>
    <% else %>
        <dd><span class='label label-important'><%= @overdue_state.name %></span><dd>
    <% end %>
    <%= link_to "Transfer Ownership", kaui_engine.transfer_bundle_path(@bundle.bundle_id), :class => "btn btn-mini" %></dd>
  <% if @subscriptions.present? %>
    <%= render :partial => "kaui/subscriptions/subscriptions_table", :locals => { :subscriptions => @subscriptions, :account => @account } %>
  <% end %>
<% else %>
  <p>Bundle not found</p>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kaui-0.3.1 app/views/kaui/bundles/show.html.erb
kaui-0.3.0 app/views/kaui/bundles/show.html.erb
kaui-0.2.6 app/views/kaui/bundles/show.html.erb
kaui-0.2.5 app/views/kaui/bundles/show.html.erb
kaui-0.2.4 app/views/kaui/bundles/show.html.erb
kaui-0.2.3 app/views/kaui/bundles/show.html.erb
kaui-0.2.2 app/views/kaui/bundles/show.html.erb
kaui-0.2.1 app/views/kaui/bundles/show.html.erb
kaui-0.2.0 app/views/kaui/bundles/show.html.erb