mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-25 10:51:44 +01:00
This commit extends the "Untrack Account" feature by applying a special style to transaction items that belong to an untracked account. - The transaction item template is modified to apply a "dimmed" style to transactions from untracked accounts. - The styling follows the precedence: Account (untracked) > Category (muted) > Transaction (hidden). - The dropdown menu for transaction items now shows "Controlled by account" if the transaction's account is untracked.
63 lines
1.8 KiB
Python
63 lines
1.8 KiB
Python
# urls.py
|
|
from django.urls import path
|
|
from apps.accounts import views
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"account-reconciliation/",
|
|
views.account_reconciliation,
|
|
name="account_reconciliation",
|
|
),
|
|
path("accounts/", views.accounts_index, name="accounts_index"),
|
|
path("accounts/list/", views.accounts_list, name="accounts_list"),
|
|
path("account/add/", views.account_add, name="account_add"),
|
|
path(
|
|
"account/<int:pk>/edit/",
|
|
views.account_edit,
|
|
name="account_edit",
|
|
),
|
|
path(
|
|
"account/<int:pk>/share/",
|
|
views.account_share,
|
|
name="account_share_settings",
|
|
),
|
|
path(
|
|
"account/<int:pk>/delete/",
|
|
views.account_delete,
|
|
name="account_delete",
|
|
),
|
|
path(
|
|
"account/<int:pk>/take-ownership/",
|
|
views.account_take_ownership,
|
|
name="account_take_ownership",
|
|
),
|
|
path(
|
|
"account/<int:pk>/toggle-untracked/",
|
|
views.account_toggle_untracked,
|
|
name="account_toggle_untracked",
|
|
),
|
|
path("account-groups/", views.account_groups_index, name="account_groups_index"),
|
|
path("account-groups/list/", views.account_groups_list, name="account_groups_list"),
|
|
path("account-groups/add/", views.account_group_add, name="account_group_add"),
|
|
path(
|
|
"account-groups/<int:pk>/edit/",
|
|
views.account_group_edit,
|
|
name="account_group_edit",
|
|
),
|
|
path(
|
|
"account-groups/<int:pk>/delete/",
|
|
views.account_group_delete,
|
|
name="account_group_delete",
|
|
),
|
|
path(
|
|
"account-groups/<int:pk>/take-ownership/",
|
|
views.account_group_take_ownership,
|
|
name="account_group_take_ownership",
|
|
),
|
|
path(
|
|
"account-groups/<int:pk>/share/",
|
|
views.account_group_share,
|
|
name="account_group_share_settings",
|
|
),
|
|
]
|