Fix getDescription for logs view

This commit is contained in:
Joseph Schorr 2015-05-03 17:57:00 -07:00
parent 2a321ed920
commit 835a4aeb9c

View file

@ -241,8 +241,8 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
};
triggerService.getDescription = function(name, config) {
var icon = triggerService.getIcon(config['service']);
var title = triggerService.getTitle(config['service']);
var icon = triggerService.getIcon(name);
var title = triggerService.getTitle(name);
var source = UtilService.textToSafeHtml(config['build_source']);
var desc = '<i class"fa ' + icon + ' fa-lg" style="margin-left:2px; margin-right: 2px"></i> Push to ' + title + ' ' + source;
return desc;