2013-08-24 10:06:45 +00:00
|
|
|
<h1>{{pkg.name}}
|
|
|
|
<small>{{pkg.version}}</small>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<p class="lead">{{pkg.description}}</p>
|
|
|
|
<p>
|
|
|
|
<a href="{{pkg.recipeURL}}" class="btn btn-default"><span class="glyphicon glyphicon-cutlery"> Recipe</a>
|
|
|
|
<a href="{{pkg.packageURL}}" class="btn btn-default"><span class="glyphicon glyphicon-download"> Download</a>
|
2013-08-24 16:17:19 +00:00
|
|
|
<a ng-if="pkg.sourceURL" href="{{pkg.sourceURL}}" class="btn btn-default"><span class="glyphicon glyphicon-home"> Homepage</a>
|
2013-08-24 10:06:45 +00:00
|
|
|
</p>
|
|
|
|
<section>
|
|
|
|
<div class="well">
|
|
|
|
<dl class="dl-horizontal">
|
|
|
|
<dt>Downloads</dt>
|
2013-09-24 18:01:44 +00:00
|
|
|
<dd>{{pkg.downloads}} <span class="muted">(all versions)</span>, percentile: {{downloadsPercentile | number:2}}</dd>
|
2013-08-24 10:06:45 +00:00
|
|
|
<dt>Source</dt>
|
|
|
|
<dd>
|
2013-08-25 09:50:15 +00:00
|
|
|
<a ng-show="pkg.sourceURL" href="{{pkg.sourceURL}}">{{pkg.source}}</a>
|
|
|
|
<span ng-show="!pkg.sourceURL">{{pkg.source}}</span>
|
2013-08-24 10:06:45 +00:00
|
|
|
</dd>
|
|
|
|
<dt>Dependencies</dt>
|
2013-08-25 09:50:15 +00:00
|
|
|
<dd><span ng-show="pkg.dependencies.length > 0" ng-repeat="dep in pkg.dependencies">
|
2013-08-24 10:06:45 +00:00
|
|
|
<a ng-if="havePackage(dep.name)" href="#/{{dep.name}}">{{dep.name}} {{dep.version}}</a>
|
|
|
|
<span ng-if="!havePackage(dep.name)">{{dep.name}} {{dep.version}}</span>
|
2013-08-25 18:05:52 +00:00
|
|
|
<span class="muted" ng-if="!$last">/</span></span>
|
2013-08-25 09:50:15 +00:00
|
|
|
<span class="muted" ng-show="pkg.dependencies.length == 0">-</span>
|
2013-08-24 10:06:45 +00:00
|
|
|
</dd>
|
|
|
|
<dt>Needed by</dt>
|
2013-08-25 09:50:15 +00:00
|
|
|
<dd><span ng-show="reverseDependencies.length > 0" ng-repeat="dep in reverseDependencies | orderBy:'name'">
|
2013-08-24 10:06:45 +00:00
|
|
|
<a href="#/{{dep.name}}">{{dep.name}}</a>
|
2013-08-25 18:05:52 +00:00
|
|
|
<span class="muted" ng-if="!$last">/</span></span>
|
2013-08-25 09:50:15 +00:00
|
|
|
<span class="muted" ng-show="reverseDependencies.length == 0">-</span>
|
2013-08-24 10:06:45 +00:00
|
|
|
</dd>
|
2013-10-17 18:25:13 +00:00
|
|
|
<dt ng-if="pkg.oldNames.length > 0">Renamed from:<dt>
|
|
|
|
<dd ng-if="pkg.oldNames.length > 0"><span ng-repeat="oldName in pkg.oldNames"><span class="muted" ng-if="!$first">,</span> {{oldName}}</span></dd>
|
2013-10-18 08:45:17 +00:00
|
|
|
<dt ng-if="reverseDependenciesOldNames.length > 0">Old name needed by</dt>
|
|
|
|
<dd ng-if="reverseDependenciesOldNames.length > 0">
|
|
|
|
<span ng-repeat="dep in reverseDependenciesOldNames | orderBy:'name'">
|
2013-10-17 18:25:13 +00:00
|
|
|
<a href="#/{{dep.name}}">{{dep.name}}</a>
|
|
|
|
<span class="muted" ng-if="!$last">/</span></span>
|
|
|
|
<span class="muted" ng-show="reverseDependenciesOldNames.length == 0">-</span>
|
|
|
|
</dd>
|
2013-08-24 10:06:45 +00:00
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h4>Description</h4>
|
|
|
|
<pre>{{readme}}</pre>
|
|
|
|
</section>
|