Commit a65995f
committed
- **Reorganized and refactored HTML templates for data import transactions:**
- Removed outdated templates: `data_import_job_txs_imported.html`, `data_import_job_txs_table.html`, and `data_import_job_txs.html`.
- Introduced new reusable templates:
- `includes/staged_txs_form_card.html` for compact card-based transaction forms.
- `import_job_txs.html` for centralized transaction display and actions handling.
- Streamlined template structure by implementing improved layout with clearer separation of concerns.
- Enhanced visual styles and dynamic behavior:
- Added match indicators, account mapping helpers, and conditional logic tags for visual cues.
- Incorporated responsive styles and conditional element visibility.
- **Updated template logic for staged transaction and import workflows:**
- Consolidated logic into reusable components to reduce redundancy.
- Improved handling of `matches_found`, `is_matched`, and import validation for staged transactions with intuitive actions.
### **Summary**
Replaced legacy transaction templates with modular and reusable components for improved clarity, maintainability, and user experience. Enhanced workflows for staged and imported transaction handling.
### **Backwards Compatibility**
These changes are not backwards compatible. Old templates were removed and replaced with redesigned structures and updated logic.1 parent 8035aea commit a65995f
File tree
12 files changed
+857
-243
lines changed- django_ledger/templates/django_ledger
- components
- data_import
- includes
- tags
12 files changed
+857
-243
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
0 commit comments