Sha256: d312ee817636011c94200cf8e500bd619c7f4c375cc6a3e85e89214dc8c0f929

Contents?: true

Size: 995 Bytes

Versions: 7

Compression:

Stored size: 995 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 } %>
  <% end %>
<% else %>
  <p>Bundle not found</p>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kaui-0.1.18 app/views/kaui/bundles/show.html.erb
kaui-0.1.17 app/views/kaui/bundles/show.html.erb
kaui-0.1.16 app/views/kaui/bundles/show.html.erb
kaui-0.1.15 app/views/kaui/bundles/show.html.erb
kaui-0.1.14 app/views/kaui/bundles/show.html.erb
kaui-0.1.12 app/views/kaui/bundles/show.html.erb
kaui-0.1.11 app/views/kaui/bundles/show.html.erb