forked from metacpan/metacpan-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrequires.html
18 lines (17 loc) · 892 Bytes
/
requires.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<%- title = "Distributions which depend on " _ required %>
<ul class="nav-list slidepanel">
<li class="visible-xs">
<% INCLUDE mobile/toolbar-search-form.html %>
</li>
<li class="nav-header">Activity</li>
<li><% INCLUDE inc/activity.html query = type_of_required _ "=" _ required %></li>
</ul>
<div class="content">
<strong>Distributions Which Depend on <a href="/<% type_of_required == 'distribution' ? 'release' : 'module' %>/<%- required %>"><%- required %></a></strong>
<% IF data.size > 0 %>
<% INCLUDE inc/release-table.html releases = data, header = 1, tablesorter = 1, default_sort = '2,1', table_id = "revdep_releases" %>
<% INCLUDE inc/pager.html size = page_size %>
<% ELSE %>
<p>No distributions depending on <a href="/<% type_of_required == 'distribution' ? 'release' : 'module' %>/<%- required %>"><%- required %></a> could be found</p>
<% END %>
</div>