Project

General

Profile

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

foreman_docker / app / views / image_search / _repository_search_results.html.erb @ d2e54db4

1
<% repositories.each do |repository| %>
2
    <h3><%= link_to 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
      <%= link_to '<span class="glyphicon glyphicon-share"></span>'.html_safe, hub_url(repository), :target => '_blank' %>
11
    </p>
12
<% end %>