diff --git a/static/js/chart_controls.js b/static/js/chart_controls.js index cc5dcf8..69c8199 100644 --- a/static/js/chart_controls.js +++ b/static/js/chart_controls.js @@ -65,13 +65,13 @@ document.addEventListener("DOMContentLoaded", function () { this.classList.remove("btn-primary"); this.classList.add("btn-outline-light"); this.setAttribute("aria-pressed", "false"); - this.textContent = "Pokaż podział na kategorie"; + this.textContent = "Kategorie"; window.setCategorySplit(false); } else { this.classList.add("btn-primary"); this.classList.remove("btn-outline-light"); this.setAttribute("aria-pressed", "true"); - this.textContent = "Pokaż całościowo"; + this.textContent = "Sumy"; window.setCategorySplit(true); } diff --git a/templates/expenses.html b/templates/expenses.html index f6bcc78..ab48621 100644 --- a/templates/expenses.html +++ b/templates/expenses.html @@ -138,23 +138,19 @@
Podział według czasu
+ aria-pressed="true">Miesięczny + aria-pressed="false">Dzienny
-
Podział według kategorii
- +
Kategorie/Sumy wydatków
+
-

Widok: miesięczne

+

Wybrany zakres: miesięczne