37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
<div id="license-header" class="row">
|
|
<div class="twelve columns">
|
|
<h1 class="license-name"><%= license.name %></h1>
|
|
<h4 class="license-created">License added at: <%= date_format(license.created_at) %></h4>
|
|
<% if license.updated_at %>
|
|
<h4 class="license-updated">Last updated at: <%= date_format(license.updated_at) %></h4>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="twelve columns">
|
|
<table class="u-full-width">
|
|
<thead>
|
|
<tr>
|
|
<th>License key:</th>
|
|
<th>Manufacturer:</th>
|
|
<th>Seats used:</th>
|
|
<th>Seats total:</th>
|
|
<th>Vendor:</th>
|
|
<th>Purchase Date:</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><%= license.key %></td>
|
|
<td><%= nullable(license.manufacturer) %></td>
|
|
<td><%= nullable(license.seats_used) %></td>
|
|
<td><%= nullable(license.seats_total) %></td>
|
|
<td><%= nullable(license.purchased_from) %></td>
|
|
<td><%= nullable(date_format(license.purchased_at)) %></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|