Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (47 sloc) 2.93 KB
<% IF release.resources.homepage %><li><a href="<% release.resources.homepage %>">Homepage</a></li><% END %>
<% IF release.resources.repository %>
<li>
<% IF release.resources.repository.web %>
<a href="<% release.resources.repository.web %>">Repository</a>
<% END %>
<% IF release.resources.repository.web && release.resources.repository.url %>
(<a href="<% release.resources.repository.url %>"><% release.resources.repository.type %> clone</a>)
<% ELSIF release.resources.repository.url %>
<a href="<% release.resources.repository.url %>">Clone <% release.resources.repository.type %> repository</a>
<% END %>
</li>
<% END %>
<li><a href="<% release.resources.bugtracker.web || 'https://rt.cpan.org/Public/Dist/Display.html?Name=' _ release.distribution %>">Bugs</a></li>
<% IF rating.count > 0 %>
<li><% INCLUDE inc/rating.html rating = rating, distribution = release.distribution %></li>
<% END %>
<li><a href="<% 'http://cpanratings.perl.org/rate/?distribution=' _ release.distribution %>">Rate this distribution</a></li>
<li>
<a href="http://www.cpantesters.org/distro/<% release.distribution.chunk(1).0.uc %>/<% release.distribution %>.html#<% release.name %>" title="(pass / fail / na)">Test results</a>
<% IF release.tests.size %>(<span style="color: #090"><% release.tests.pass %></span> / <span style="color: #900"><% release.tests.fail %></span> / <% release.tests.na %>)<% END %>
<a href="http://matrix.cpantesters.org/?dist=<% release.name %>" title="Matrix"><img src="/static/icons/grid.png" width="16" height="16" style="vertical-align: bottom; padding: 1px"></a>
</li>
<li><a href="http://cpants.charsbar.org/dist/overview/<% release.distribution %>">CPANTS</a></li>
<% IF release.license %><li>License: <% release.license.join(', ') %></li><% END %>
<% IF versions.size > 1 %>
<select name="release" onchange="document.location.href='/<% IF module.path; 'module'; ELSE; 'release'; END %>/' + this.value">
<option>Go to version</option>
<%
BLOCK version_options;
backpan = [];
FOREACH version IN versions;
IF release.name == version.name;
NEXT;
END;
IF version.status == 'backpan';
backpan.push(version);
NEXT;
END %>
<option value="<% version.author; '/'; version.name; '/'; module.path %>"><% version.version _ (version.maturity == 'developer' ? ' DEV' : '') %> (<% version.date.dt_date_common %>)</option>
<% END; IF backpan.size > 1 %>
<optgroup label="BackPAN"></optgroup>
<% FOREACH version IN backpan %>
<option value="<% version.author; '/'; version.name; '/'; module.path %>"><% version.version _ (version.maturity == 'developer' ? ' DEV' : '') %> (<% version.date.dt_date_common %>)</option><% END %>
<% END; END; PROCESS version_options %>
</select>
<% END %>
Something went wrong with that request. Please try again.