summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-03-17 13:05:04 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-03-17 13:05:04 +0000
commit720a66f21b046035eb7e9d3da9c3a174d90d86a4 (patch)
tree6596a4422f03e8a6acd84db85f79d1178156e8d5
parent4bee8f1b28f17327fd65b10ad09fbcb9de88874c (diff)
downloadaports-turbo-720a66f21b046035eb7e9d3da9c3a174d90d86a4.tar.bz2
aports-turbo-720a66f21b046035eb7e9d3da9c3a174d90d86a4.tar.xz
add missing fields to package tempalte
-rw-r--r--tpl/package.tpl62
1 files changed, 42 insertions, 20 deletions
diff --git a/tpl/package.tpl b/tpl/package.tpl
index e6e35a2..56aae33 100644
--- a/tpl/package.tpl
+++ b/tpl/package.tpl
@@ -4,52 +4,74 @@
<div class="panel-heading">Package details</div>
<div class="panel-body">
</div>
- <table class="table table-striped table-bordered table-condensed" id="package">
- {{#name}}
+ <table class="table table-striped table-bordered table-condensed" id="package">{{#name}}
<tr>
- <th>Name</th>
+ <th>Name:</th>
<td title="{{{desc}}}"><a href="/package/{{{name}}}">{{{name}}}</a></td>
</tr>
<tr>
- <th>Version</th>
+ <th>Version:</th>
<td>{{{version}}}</td>
</tr>
<tr>
- <th>Project</th>
+ <th>Description:</th>
+ <td>{{{desc}}}</td>
+ </tr>
+ <tr>
+ <th>Project:</th>
<td><a href="{{{url}}}">URL</a></td>
</tr>
<tr>
- <th>Licence</th>
+ <th>Licence:</th>
<td>{{{lic}}}</td>
</tr>
<tr>
- <th>Architecture</th>
+ <th>Architecture:</th>
<td>{{{arch}}}</td>
+ </tr>{{#deps}}
+ <tr>
+ <th>Dependecies:</th>
+ <td>{{{deps}}}</td>
+ </tr>{{/deps}}
+ <tr>
+ <th>Checksum:</th>
+ <td>{{{csum}}}</td>
</tr>
<tr>
- <th>Repository</th>
- <td>Repository</td>
+ <th>Size:</th>
+ <td>{{{size}}}</td>
+ </tr>{{#install_size}}
+ <tr>
+ <th>Installed size:</th>
+ <td>{{{install_size}}}</td>
+ </tr>{{/install_size}}{{#provides}}
+ <tr>
+ <th>Provides:</th>
+ <td>{{{provides}}}</td>
+ </tr>{{/provides}}{{#install_if}}
+ <tr>
+ <th>Install if:</th>
+ <td>{{{install_if}}}</td>
+ </tr>{{/install_if}}
+ <tr>
+ <th>Origin:</th>
+ <td>{{{origin}}}</td>
</tr>
<tr>
- <th>Maintainer</th>
+ <th>Maintainer:</th>
<td>{{{maintainer}}}</td>
</tr>
<tr>
- <th>Build date</th>
+ <th>Build time:</th>
<td>{{{build_time}}}</td>
</tr>
- {{#install_if}}
<tr>
- <th>Install if</th>
- <td>{{{install_if}}}</td>
- </tr>
- {{/install_if}}
- {{/name}}
- {{^name}}
+ <th>Commit:</th>
+ <td>{{{commit}}}</td>
+ </tr>{{/name}}{{^name}}
<tr>
<td>This package does not exist!</td>
- </tr>
- {{/name}}
+ </tr>{{/name}}
</table>
</div>
</div>