Remove history column from tags table

This commit is contained in:
Joseph Schorr 2017-03-03 13:26:29 -05:00
parent 91c7396057
commit 57f78361b5
2 changed files with 0 additions and 29 deletions

View file

@ -91,7 +91,6 @@
</td>
<td class="options-col"></td>
<td class="options-col"></td>
<td class="options-col"></td>
<td class="hidden-xs hidden-sm" style="width: 4px"></td>
</thead>
@ -204,28 +203,6 @@
ng-click="fetchTagActionHandler.askFetchTag(tag)">
</i>
</td>
<td class="options-col">
<div class="dropdown" style="text-align: left;">
<i class="fa fa-history dropdown-toggle" data-toggle="dropdown" data-title="Tag History"
ng-click="loadTagHistory(tag)"
bs-tooltip></i>
<ul class="dropdown-menu pull-right">
<li ng-if="!tagHistory[tag.name]"><div class="cor-loader"></div></li>
<li class="tag-image-history-item" ng-repeat="entry in tagHistory[tag.name]" bindonce>
<a ng-click="askRevertTag(tag, entry.docker_image_id)">
<div class="image-id">
<i class="fa fa-circle-o"
bo-style="{'color': imageMap[entry.docker_image_id].color || '#eee'}"></i>
{{ entry.docker_image_id.substr(0, 12) }}
</div>
<div class="image-apply-time">
{{ entry.start_ts * 1000 | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}
</div>
</a>
</li>
</ul>
</div>
</td>
<td class="options-col">
<span bo-if="repository.can_write">
<span class="cor-options-menu">

View file

@ -356,12 +356,6 @@ angular.module('quay').directive('repoPanelTags', function () {
return names.join(',');
};
$scope.askRevertTag = function(tag, image_id) {
if ($scope.repository.can_write) {
$scope.tagActionHandler.askRevertTag(tag, image_id);
}
};
}
};
return directiveDefinitionObject;