package.html
2.23 KB
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
63
64
65
66
67
68
69
70
$def with (pkg)
$var url_base: /
<div class="align-left" id="voting_box">
<button type="button" class="like_button" onclick=";return false;" id="like" >
<img src="static/images/pixel-vfl73.gif" alt="">
</button>
<button type="button" class="dislike_button" onclick=";return false;" id="dislike" >
<img src="static/images/pixel-vfl73.gif" alt="">
</button>
<div id="update_count" style="float:left;">
<?php include ('update_box.php')?>
</div>
<div id="voting_result">
</div>
</div><!-- id="voting_box" -->
<h2 id="title_pkg">$pkg.name <br /><span>$pkg.summary</span></h2>
<div id="debtags_box" class="graybox horiz-grad">
<h2>Debtags</h2>
<ul id="debtags_pkg">
$for facet, tags in pkg.tags.items():
<li> $facet
<ul>
$for tag in tags:
<li>$tag</li>
</ul>
</li>
</ul>
</div><!-- id="debtags_box" -->
<p>
<h2>Details</h2>
<ul>
$if hasattr(pkg, 'description'):
<li><b>Description:</b> <br />$:pkg.description</li>
$if hasattr(pkg, 'maintainer'):
<li><b>Maintainer:</b> $pkg.maintainer</li>
$if hasattr(pkg, 'homepage'):
<li><b>Homepage:</b> <a href="$pkg.homepage">$pkg.homepage</a></li>
$if hasattr(pkg,'section'):
<li><b>Section:</b> $pkg.section</li>
$if hasattr(pkg,'recommends'):
<li><b>Recommends:</b> $pkg.recommends</li>
$if hasattr(pkg,'suggests'):
<li><b>Suggests:</b> $pkg.suggests</li>
$if hasattr(pkg,'origin'):
<li><b>Origin:</b> $pkg.origin</li>
</ul>
</p>
<div id="debresources_box" class="graybox vert-grad">
<h2>Debian resources</h2>
<ul>
<li><a href="http://packages.debian.org/$pkg.name">Package page on debian.org</a></li>
<li><a href="http://bugs.debian.org/$pkg.name">Debian bug tracking system (BTS)</a></li>
<li><a href="http://packages.qa.debian.org/$pkg.name">Debian package tracking system (PTS)</a></li>
<li><a href="http://qa.debian.org/popcon.php?package=$pkg.name">Popularity contest statistics (Popcon)</a></li>
<li><a href="http://patch-tracker.debian.org/package/$pkg.name">Debian patch tracking system</a></li>
<li><a href="http://screenshots.debian.net/package/$pkg.name">Screenshots</a></li>
</ul>
</div><!-- id="debresources_box -->