Add a link to the image view and fix a bug where the changes section did not show up if files were only added and/or removed
This commit is contained in:
parent
000e5ceaa4
commit
04ec593d8a
1 changed files with 3 additions and 2 deletions
|
@ -116,7 +116,7 @@
|
||||||
<dt>Created</dt>
|
<dt>Created</dt>
|
||||||
<dd am-time-ago="parseDate(currentImage.created)"></dd>
|
<dd am-time-ago="parseDate(currentImage.created)"></dd>
|
||||||
<dt>Image ID</dt>
|
<dt>Image ID</dt>
|
||||||
<dd>{{ currentImage.id }}</dd>
|
<dd><a href="{{'/repository/' + repo.namespace + '/' + repo.name + '/image/' + currentImage.id}}">{{ currentImage.id }}</a></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<!-- Image changes loading -->
|
<!-- Image changes loading -->
|
||||||
|
@ -124,7 +124,8 @@
|
||||||
<i class="icon-spinner icon-spin icon-3x"></i>
|
<i class="icon-spinner icon-spin icon-3x"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="changes-container small-changes-container" ng-show="currentImageChanges.changed">
|
<div class="changes-container small-changes-container"
|
||||||
|
ng-show="currentImageChanges.changed.length || currentImageChanges.added.length || currentImageChanges.removed.length">
|
||||||
<div class="changes-count-container accordion-toggle" data-toggle="collapse" data-parent="#accordion" data-target="#collapseChanges">
|
<div class="changes-count-container accordion-toggle" data-toggle="collapse" data-parent="#accordion" data-target="#collapseChanges">
|
||||||
<span class="change-count added" ng-show="currentImageChanges.added.length > 0" title="Files Added">
|
<span class="change-count added" ng-show="currentImageChanges.added.length > 0" title="Files Added">
|
||||||
<i class="icon-plus-sign-alt"></i>
|
<i class="icon-plus-sign-alt"></i>
|
||||||
|
|
Reference in a new issue