Sha256: e2b2dfc559db3d62713db7934612b5daafbed439de3fc248c0b330cdb836c1cc

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

<div id="<%= name %>" class="<%= approved ? "approved" : "unapproved" %>">
  <h2>
    <% if homepage && !homepage.empty? %>
      <a href="<%= homepage %>"><%= name %></a>
    <% else %>
      <%= name %>
    <% end %>
    v<%= version %>
    <% if bundler_groups.any? %>
      (<%= bundler_groups.join(", ") %>)
    <% end %>
  </h2>
  <table class="table table-striped table-bordered">
    <thead>
    <tr>
      <th>Summary</th>
      <th>Description</th>
      <th>License</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <td><%= summary %></td>
      <td><%= description %></td>
      <td>
        <% if license_url && !license_url.empty? %>
          <a href="<%= license_url %>"><%= license %></a>
        <% else %>
          <%= license %>
        <% end %>
      </td>
      </td>
    </tr>
    </tbody>
  </table>

  <% if parents.any? %>
    <dl>
      <dt>Parents</dt>
      <% parents.each do |parent| %>
        <dd><%= parent %></dd>
      <% end %>
    </dl>
  <% end %>

  <% if children.any? %>
    <dl>
      <dt>Children</dt>
      <% children.each do |child| %>
        <dd><%= child %></dd>
      <% end %>
    </dl>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
license_finder-0.7.3 lib/templates/dependency.html.erb
license_finder-0.7.1 lib/templates/dependency.html.erb
license_finder-0.7.0 lib/templates/dependency.html.erb