Skip to content

Instantly share code, notes, and snippets.

@gilchris
Last active November 6, 2017 09:03
Show Gist options
  • Save gilchris/71bb6c44625722e0ae0d31ea0378e788 to your computer and use it in GitHub Desktop.
Save gilchris/71bb6c44625722e0ae0d31ea0378e788 to your computer and use it in GitHub Desktop.
Adding to highlighting login user name on redmine issue rows.
// ==UserScript==
// @name Redmine My Issue Highlighter
// @namespace https://gist.github.com/gilchris/71bb6c44625722e0ae0d31ea0378e788
// @include /^.*redmine.*$/i
// ==/UserScript==
(function() {
var activeUserLink = $("div[id='loggedas'] > a").attr('href');
$("a[href='" + activeUserLink + "']").each(function() { $(this).html("<b style='color:#000000'>" + $(this).html() + "</b>"); });
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment