Project

General

Profile

Download (606 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman-docker / app / views / image_search / _repository_search_results.html.erb @ f02a9ce2

1
<% repositories.each do |repository| %>
2
    <h3><%= link_to cleanup_image_name(repository['name']), '#', :onclick => 'repoSelected(this)', "data-hub" => use_hub %></h3>
3
    <p>
4
      <%= '<span class="glyphicon glyphicon-certificate" title="Official"></span>'.html_safe if repository['is_official'] %>
5
      <%= '<span class="glyphicon glyphicon-thumbs-up" title="Trusted"></span>'.html_safe    if repository['is_trusted'] %>
6
      <span class="glyphicon glyphicon-star"></span> <%= repository['star_count'] %>
7
    </p>
8
    <p>
9
      <%= trunc_with_tooltip(repository['description']) %>
10
    </p>
11
<% end %>