.redmine-issue:before, .redmine-issues li:before { content: ""; display: inline-block; background-image: url(https://redmine.cyanide-studio.com/favicon.ico); width: 16px; height: 16px; background-size: cover; vertical-align: middle; } .redmine-issues ul { padding-inline: 0 } .redmine-issues li { list-style: none } jQuery(() => { console.log("CYA BUG", "Parsing..."); jQuery(".plugin_wrap.wrap_bug, .plugin_wrap.wrap_issue, .plugin_wrap.wrap_redmine").each(function() { var wrap = jQuery(this); var id = wrap.attr("id"); console.log("CYA BUG", "Found ID", id); if (jQuery.isNumeric(id)) { var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&issue=" + id + "&format=html"; jQuery.ajax({ url: url, context: wrap, async: true, success: function(html) { this.addClass("redmine-issue"); this.html(" " + id + " " + html); console.log("CYA BUG", "Auto Redmine bug", id); } }); } }); console.log("CYA BUG", "Parsing...", "DONE"); jQuery(".plugin_wrap.wrap_version_found_bugs").each(function() { var wrap = jQuery(this); var version = wrap.attr("id"); console.log("CYA ISSUES BY FOUND VERSION", "Found Version", version); var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_found=" + version + "&format=html"; wrap.html("Please wait..."); jQuery.ajax({ url: url, context: wrap, async: true, success: function(html) { this.addClass("redmine-issues"); this.html("

" + version + "

" + html); console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by found version", version); } }); }); jQuery(".plugin_wrap.wrap_version_fixed_bugs").each(function() { var wrap = jQuery(this); var version = wrap.attr("id"); console.log("CYA ISSUES BY fixed VERSION", "fixed Version", version); var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_fixed=" + version + "&format=html"; wrap.html("Please wait..."); jQuery.ajax({ url: url, context: wrap, async: true, success: function(html) { this.addClass("redmine-issues"); this.html("

" + version + "

" + html); console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by fixed version", version); } }); }); });