Skip to content

Commit

Permalink
FEAT (Trello coloured lists) Merge
Browse files Browse the repository at this point in the history
Merge keywords from work installation
  • Loading branch information
garethjmsaunders committed Nov 10, 2017
1 parent b27bbb6 commit 5b884ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions trello-coloured-lists.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Trello coloured lists
// @version 4.6.0
// @version 4.6.1
// @description Add coloured backgrounds to Trello lists.
// @author Gareth J M Saunders
// @license GNU General Public License v3.0
Expand Down Expand Up @@ -93,11 +93,11 @@ $(document).ready(function() {
.parents('.list').css('background', red);

// Orange - warning
$("textarea:contains('On hold'), textarea:contains('Scheduled')")
$("textarea:contains('CSA'), textarea:contains('On hold'), textarea:contains('Scheduled')")
.parents('.list').css('background', orange);

// Yellow - nearly ready
$("textarea:contains('QA'), textarea:contains('Testing')")
$("textarea:contains('F.U.N.'), textarea:contains('QA'), textarea:contains('Testing')")
.parents('.list').css('background', yellow);

// Green - in progress
Expand Down Expand Up @@ -127,7 +127,7 @@ $(document).ready(function() {
.addClass('js-dark-list');

// Magenta, white text
$("textarea:contains('Archive'), textarea:contains('PRL')")
$("textarea:contains('Archive'), textarea:contains('Consultancy'), textarea:contains('PRL')")
.css('color', white)
.parents('.list').css('background', magenta)
.addClass('js-dark-list');
Expand All @@ -140,4 +140,4 @@ $(document).ready(function() {

});

});
});

0 comments on commit 5b884ec

Please sign in to comment.