Nicer separator for dependency lists

This commit is contained in:
Steve Purcell 2013-08-25 19:05:52 +01:00
parent 42cd0312e2
commit 45db3974de

View file

@ -22,13 +22,13 @@
<dd><span ng-show="pkg.dependencies.length > 0" ng-repeat="dep in pkg.dependencies">
<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>
&nbsp;</span>
<span class="muted" ng-if="!$last">/</span></span>
<span class="muted" ng-show="pkg.dependencies.length == 0">-</span>
</dd>
<dt>Needed by</dt>
<dd><span ng-show="reverseDependencies.length > 0" ng-repeat="dep in reverseDependencies | orderBy:'name'">
<a href="#/{{dep.name}}">{{dep.name}}</a>
&nbsp;</span>
<span class="muted" ng-if="!$last">/</span></span>
<span class="muted" ng-show="reverseDependencies.length == 0">-</span>
</dd>
</dl>