Fix last modified date time handling for tags with no date times, and fix the sort ordering

This commit is contained in:
Joseph Schorr 2015-03-17 16:49:22 -04:00
parent fe8d006855
commit 699cb9a5da
3 changed files with 13 additions and 5 deletions

View file

@ -60,7 +60,10 @@
ng-class="checkedTags.isChecked(tag, checkedTags.checked) ? 'checked' : ''">
<td><span class="cor-checkable-item" controller="checkedTags" item="tag"></span></td>
<td><i class="fa fa-tag"></i> {{ tag.name }}</td>
<td><span am-time-ago="tag.last_modified"></span></td>
<td>
<span am-time-ago="tag.last_modified" ng-if="tag.last_modified"></span>
<span ng-if="!tag.last_modified">Unknown</span>
</td>
<td>{{ tag.size | bytes }}</td>
<td class="image-id-col">
<a ng-href="/repository/{{ repository.namespace }}/{{ repository.name }}/image/{{ tag.image_id }}">