Sha256: 43a86167dc87c994d1396636058e46bda6806a46f5361afa507cb78179f7cede

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

<% gem = member %>
<li class="gem">
  <% if gem.authors.all?(&:info) %>
    <div class="gem-authors-avatars">
      <%= gem.authors.map { |a| "<a href=\"http://github.com/#{a.info.login}\"><img src=\"#{a.info.avatar_url}\" alt=\"#{a.name}\"></a>" }.join('<span class="delimeter">&nbsp;</span>') %>
    </div>
  <% end %>

  <div class="gem-thanks">
    <span class="gem-begin-thanks"><%= ThankWords.begin_author %>&nbsp;</span>
    <% if gem.authors.all?(&:info) %>
      <span class="gem-authors-names"><%= gem.authors.map { |it| "<span class=\"gem-authors-names-author-name\"><a href=\"http://github.com/#{it.info.login}\">#{it.name}</a></span>" }.join('<span class="gem-authors-names-delimeter">,&nbsp;</span>') %>
    <% else %>
      <span class="gem-authors-names"><%= gem.authors.map(&:name).map { |it| "<span class=\"gem-authors-names-author-name\">#{it}</span>" }.join('<span class="gem-authors-names-delimeter">,&nbsp;</span>') %>
    <% end %>
    <span class="gem-middle-thanks"><%= ThankWords.middle_author %>&nbsp;</span>
    <span class="gem-name"><a href="<%= gem.url %>"><%= gem.name %></a>.</span>
  </div>
  <div class="gem-thanks-end">
    <%= ThankWords.end_author %>
  </div>
</li>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
share_some_love-0.1.4 templates/html/_gem.html.erb
share_some_love-0.1.3 templates/html/_gem.html.erb
share_some_love-0.1.2 templates/html/_gem.html.erb
share_some_love-0.1.1 templates/html/_gem.html.erb