Update dependencyBookmarklet.js
This commit is contained in:
parent
9f366147de
commit
1b8514d5b0
@ -38,9 +38,18 @@
|
||||
if(issue.type.name == "Blocker" && issue.inwardIssue){
|
||||
var dependencyIssueKey = issue.inwardIssue.key;
|
||||
if (issueElement.isBefore('[data-issue-key='+dependencyIssueKey+']')) {
|
||||
issueElement.find('.ghx-end.ghx-row')
|
||||
.prepend('<span class="blocked-warning aui-label ghx-label-2 ghx-label ghx-label-double" title="'+ issue.type.inward + ' ' + dependencyIssueKey + '" style="color: FIREBRICK; background-color: white; border-color: FIREBRICK; font-weight: bold; border-width: 2px; ">↯ '+dependencyIssueKey+'</span>')
|
||||
//issueElement.css('background-color', '#FFD351');
|
||||
|
||||
var warning = jQuery('<span>↯ '+dependencyIssueKey+'</span>');
|
||||
warning.addClass('blocked-warning aui-label ghx-label-2 ghx-label ghx-label-double');
|
||||
warning.attr('title', issue.type.inward + ' ' + dependencyIssueKey);
|
||||
warning.css('color', 'FIREBRICK');
|
||||
warning.css('background-color', 'white');
|
||||
warning.css('border-color', 'FIREBRICK');
|
||||
warning.css('border-width', '2px');
|
||||
warning.css('font-weight', 'bold');
|
||||
|
||||
issueElement.find('.ghx-end.ghx-row').prepend(warning);
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user