Changed "graphical glyphs" to solid arrows (#28).

The $or; character was changed to $#x25bc;, while $and; was changed to
$#x25b2.
This commit is contained in:
Adam Waldenberg 2015-11-07 14:27:02 +01:00
parent d11bcddc35
commit dcbc6634f2
1 changed files with 12 additions and 12 deletions

View File

@ -56,16 +56,16 @@
var parentIndex = $(this).index();
if (this.isReversed) {{
$(this).append("<strong> &and;</strong>");
$(this).append("<strong> &#x25b2;</strong>");
}} else {{
$(this).append("<strong> &or;</strong>");
$(this).append("<strong> &#x25bc;</strong>");
}}
this.isReversed = !this.isReversed;
}});
$("table#changes thead tr th:first-child, table#blame thead tr th:first-child").each(function() {{
this.isReversed = true;
$(this).append("<strong> &or;</strong>");
$(this).append("<strong> &#x25bc;</strong>");
}});
$("table#changes tfoot tr td:first-child").filter(function() {{
@ -73,16 +73,16 @@
return this.hiddenCount > 0;
}}).each(function() {{
$(this).addClass("hoverable");
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") &or;";
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") &#x25bc;";
}}).click(function() {{
this.clicked = !this.clicked;
if (this.clicked) {{
this.innerHTML = "{hide_minor_authors} (" + this.hiddenCount + ") &and;";
this.innerHTML = "{hide_minor_authors} (" + this.hiddenCount + ") &#x25b2;";
$(this).parent().parent().parent().find("tbody tr:empty").remove();
$(this).parent().parent().parent().find("tbody tr").show();
}} else {{
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") &or;";
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") &#x25bc;";
$(this).parent().parent().parent().find("tbody tr td:last-child").filter(function() {{
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
}}).parent().each(function() {{
@ -94,15 +94,15 @@
filterResponsibilities();
var hiddenResponsibilitiesCount = $("div#responsibilities div h3:hidden").length;
if (hiddenResponsibilitiesCount > 0) {{
$("div#responsibilities").prepend("<div class=\"button\">{show_minor_authors} (" + hiddenResponsibilitiesCount + ") &or;</div>");
$("div#responsibilities").prepend("<div class=\"button\">{show_minor_authors} (" + hiddenResponsibilitiesCount + ") &#x25bc;</div>");
$("div#responsibilities div.button").click(function() {{
this.clicked = !this.clicked;
if (this.clicked) {{
this.innerHTML = "{hide_minor_authors} (" + hiddenResponsibilitiesCount + ") &and;";
this.innerHTML = "{hide_minor_authors} (" + hiddenResponsibilitiesCount + ") &#x25b2;";
$("div#responsibilities div").show();
}} else {{
this.innerHTML = "{show_minor_authors} (" + hiddenResponsibilitiesCount + ") &or;";
this.innerHTML = "{show_minor_authors} (" + hiddenResponsibilitiesCount + ") &#x25bc;";
filterResponsibilities();
}}
}});
@ -112,15 +112,15 @@
filterTimeLine();
var hiddenTimelineCount = $("div#timeline table.git tbody tr:hidden").length;
if (hiddenTimelineCount > 0) {{
$("div#timeline").prepend("<div class=\"button\">{show_minor_rows} (" + hiddenTimelineCount + ") &or;</div>");
$("div#timeline").prepend("<div class=\"button\">{show_minor_rows} (" + hiddenTimelineCount + ") &#x25bc;</div>");
$("div#timeline div.button").click(function() {{
this.clicked = !this.clicked;
if (this.clicked) {{
this.innerHTML = "{hide_minor_rows} (" + hiddenTimelineCount + ") &and;";
this.innerHTML = "{hide_minor_rows} (" + hiddenTimelineCount + ") &#x25b2;";
$("div#timeline table.git tbody tr").show().each(colorRows);
}} else {{
this.innerHTML = "{show_minor_rows} (" + hiddenTimelineCount + ") &or;";
this.innerHTML = "{show_minor_rows} (" + hiddenTimelineCount + ") &#x25bc;";
filterTimeLine();
}}
}});