Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1750 from metacpan/mickey/GH1692
author page: cpan/backpan counts + backpan-only message
  • Loading branch information
oalders committed Jul 19, 2016
2 parents b8f96dd + f55c33d commit a0437c8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions root/author.html
Expand Up @@ -138,12 +138,13 @@
<a href="<% author.links.metacpan_explorer %>">MetaCPAN Explorer</a>
</li>
<li>
<a href="<% author.links.cpan_directory %>">Browse CPAN directory</a>
<a href="<% author.links.cpan_directory %>">CPAN directory</a> (<% author.release_count.cpan + author.release_count.latest %>)
</li>
<li>
<a href="<% author.links.backpan_directory %>" title="See all releases ever done by <% author.pauseid %>, not just those currently on CPAN.">Browse BackPAN directory</a>
<a href="<% author.links.backpan_directory %>" title="See all releases ever done by <% author.pauseid %>, not just those currently on CPAN.">BackPAN directory</a> (<% author.release_count.item('backpan-only') %>)
</li>
</ul>

<!-- End left content -->

<div class="content">
Expand All @@ -157,7 +158,11 @@
<% ELSE %>
<div class="message">
<strong>Releases</strong>
<p>No releases from <a href="/author/<% author.pauseid %>"><%- author.pauseid %></a> could be found</p>
<p>No releases from <a href="/author/<% author.pauseid %>"><%- author.pauseid %></a> could be found
<% IF author.release_count.item("backpan-only") %>
<br/><a href="/author/<% author.pauseid %>"><%- author.pauseid %></a> has <a href=<% author.links.backpan_directory %>><% author.release_count.item("backpan-only") %> distributions on BackPAN</a> that were previously on CPAN.
<% END %>
</p>
</div>
<% END %>
<% IF faves.0 %>
Expand Down

0 comments on commit a0437c8

Please sign in to comment.