forked from metacpan/metacpan-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpod.html
62 lines (59 loc) · 2.67 KB
/
pod.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<% twitter_card_inc = 'inc/twitter/module.html' %>
<%# NOTE: canonical set in controller %>
<% meta_description = module.abstract %>
<%
title =
(module.documentation or module.module.0.name ) _
(module.abstract ? ' - ' _ module.abstract : '');
rss = 'distribution/' _ module.distribution
%>
<div itemscope itemtype="http://schema.org/SoftwareApplication">
<% INCLUDE inc/breadcrumbs.html schema_org = 1 %>
<ul class="nav-list slidepanel">
<li class="visible-xs">
<% INCLUDE mobile/toolbar-search-form.html %>
</li>
<li class="nav-header">
<time class="relatize" itemprop="dateModified" datetime="<% module.date.dt_date_common %>"><% module.date.dt_http %></time>
</li>
<% IF documented_module.version %>
<li>
Module version: <span itemprop="softwareVersion"><% documented_module.version | html %></span>
</li>
<% END %>
<li>
<a data-keyboard-shortcut="g s" href="/source/<% module.author %>/<% module.release %>/<% module.path %>"><i class="fa fa-fw fa-file-code-o black"></i>Source</a>
(<a href="<% source_host %>/source/<% module.author %>/<% module.release %>/<% module.path %>">raw</a>)
</li>
<li>
<a data-keyboard-shortcut="g b" href="/source/<% module.author %>/<% module.release %>/<% module.path.split("/").splice(0,-1).join("/") %>"><i class="fa fa-fw fa-folder-open black"></i>Browse</a>
(<a href="<% source_host %>/source/<% module.author %>/<% module.release %>/">raw</a>)
</li>
<% PROCESS inc/release-info.html schema_org = 1 %>
<li class="nav-header">Activity</li>
<li><% INCLUDE inc/activity.html query = 'distribution=' _ release.distribution %></li>
<% INCLUDE inc/release-tools.html schema_org = 1 %>
</ul>
<button id="right-panel-toggle" class="btn-link" onclick="togglePanel('right'); return false;"><span class="panel-hidden">Show</span><span class="panel-visible">Hide</span> Right Panel</button>
<div id="right-panel" class="pull-right">
<div class="box-right">
<% INCLUDE inc/author-pic.html author = author %>
<% INCLUDE inc/contributors.html contributors = contributors %>
</div>
<% INCLUDE inc/dependencies.html release = release, module = module %>
</div>
<a name="___pod"></a>
<div class="pod content anchors">
<% IF pod %>
<% pod | none %>
<% ELSIF pod_error %>
<p class="pod-error">Error rendering POD for <code><% module.name %></code> - <% pod_error %></p>
<% ELSE %>
<p class="pod-error">
No POD found for <code><% module.name %></code>.
Time to <a href="/source/<% module.author %>/<% module.release %>/<% module.path %>">read the source</a>?
</p>
<% END %>
<% INCLUDE inc/module-install.html %>
</div>
</div>