Add a build display name, set it from the etag reported by s3 for file uploads.

This commit is contained in:
yackob03 2014-02-12 13:52:12 -05:00
parent e1a4efe35c
commit 85694dd110
8 changed files with 18 additions and 11 deletions

View file

@ -668,11 +668,6 @@ function RepoBuildCtrl($scope, Restangular, ApiService, $routeParams, $rootScope
$('.build-logs').height($(window).height() - 365);
};
$scope.getShortId = function(id) {
var lastIndex = id.lastIndexOf('-');
return id.substr(lastIndex + 1);
};
$scope.getCommandKind = function(fullTitle) {
var colon = fullTitle.indexOf(':');
var title = getTitleWithoutStep(fullTitle);