26 lines
733 B
Plaintext
26 lines
733 B
Plaintext
<div class="row">
|
|
<div class="twelve columns">
|
|
<h4>Matching hardware:</h4>
|
|
<% if items.length > 0 %>
|
|
<ul class="u-full-width">
|
|
<% items.each do |r| %>
|
|
<li><a href="/item/<%= r.id %>"><%= r.name %></a></li>
|
|
<% end %>
|
|
</ul>
|
|
<% else %>
|
|
<p>Sorry, nothing in your hardware inventory matches that search term.</p>
|
|
<% end %>
|
|
|
|
<h4>Matching licenses:</h4>
|
|
<% if licenses.length > 0 %>
|
|
<ul class="u-full-width">
|
|
<% licenses.each do |r| %>
|
|
<li><a href="/item/<%= r.id %>"><%= r.name %></a></li>
|
|
<% end %>
|
|
</ul>
|
|
<% else %>
|
|
<p>Sorry, nothing in your license inventory matches that search term.</p>
|
|
<% end %>
|
|
</div>
|
|
</div>
|