Commit Graph

456 Commits

Author SHA1 Message Date
mipel
287e0b4068 Compensation index view
* adds filters and table optimizations for compensation index rendering
* fixes recorded_by/checked_by confusion in intervention table
2021-07-29 10:51:14 +02:00
mipel
c76a061740 Template improvements
* refactors templates/table.html into templates/generic_index.html
* adds DummyFilterInput as do-not-render-widget
* hardens combination of q filter and other filters on index view rendering
2021-07-28 09:53:14 +02:00
mipel
1d77eb293e Harden search filter
* hardens search filter against whitespaces
* renames 'Show all' filter to 'Show unshared' for clarification
* adds translation
2021-07-28 08:54:48 +02:00
mipel
d919eee3b4 Dashboard dynamic content
* replaces static dummy values with database values
* renames 'Your own' into 'Shared with you' for clarification
* adds translation
2021-07-28 08:50:53 +02:00
mipel
09fad6a2de Document upload fix
* fixes some minor issues with the document upload
2021-07-26 15:34:30 +02:00
mipel
1ff02c30a6 Document upload
* adds document upload form
* refactors modal form templates into form classes
* adds document upload route to intervention routes of urls.py
2021-07-26 15:16:16 +02:00
mipel
1d4be22da5 Template restructuring
* splits large templates into smaller includes
* removes localized form input for payments
* refactors Document removing using the generic remove form
2021-07-26 14:35:19 +02:00
mipel
2889b10e0d Payments add modal form
* adds help texts to add payment form
* adds removing button for payments
* refactors user fetching into BaseForm
* adds generic RemoveModalForm which is intended to be used for every modal form which shall remove something
* adds translations
* removes unused html
* prepares payment amount field to be able to process german inputs like '1.000,50' which is not the international default
2021-07-26 11:29:05 +02:00
mipel
23afe2654e Payments add modal form
* adds modal form for adding payments
* generalizes generic_table_form.html for table-form-like usage in modal_form.html
* adds css enhancements for focused input fields
* adds BaseModalForm as specification to BaseForm, which inherits the BSModalForm class as well
* adds translations
2021-07-26 10:23:09 +02:00
mipel
8885f81770 Documents removing
* adds generic modal rendering using package django-bootstrap-modal-forms
* adds document file removing from hard drive
* adds translations
2021-07-23 18:27:53 +02:00
mipel
47ec30919c Documents removing
* adds document removing button
* adds translation
* adds Document admin
2021-07-23 16:04:58 +02:00
mipel
a0c0a0f074 Documents
* add get document route
* add missing attributes to intervention detail view
2021-07-23 15:35:05 +02:00
mipel
13a15e4f56 Compensation routes
* improves compensation routes
2021-07-23 15:23:54 +02:00
mipel
b962e22c04 Intervention relations enhancements
* refactors model relation to compensation and payment by applying 1-n instead of n-n
2021-07-23 09:36:43 +02:00
mipel
eaa9c43afe Intervention Detail View
* adds hint for empty map in case of missing geometry
* adds empty geometry workaround, so openlayers is rendered without digitalization tools
* adds translations
2021-07-22 16:06:13 +02:00
mipel
a304f8d42e Intervention Detail View
* adds related object overview in detail view
* adds comment field to payment model for 'Verwendungszweck'
* simplifies intervention urls
* adds translations
2021-07-22 14:58:58 +02:00
mipel
4d651aec24 Intervention Detail View
* adds (WIP) detail view for interventions
* renames typo in conservations_file_number to conservation_file_number
* adds simple has_access check for intervention objects for given users
* renames occurences of "Registered" to "Recorded" (verzeichnen)
* adds an informing message for detail view of intervention objects which are not editable for a user
* adds GeometryAdmin
* adds fallback DEFAULT_SRID for Geometry model
* adds translations
2021-07-22 13:19:14 +02:00
mipel
0c1fa72556 Table filters
* adds table filtering for InterventionTable
* adds default ordering
* moves user-access filtering from view to InterventionTableFiler
* adds generic render_icn method for BaseTable (for usage with fontawesome5)
* adds translations
* improves table.html template
2021-07-22 10:00:59 +02:00
mipel
f88b206756 Help link
* adds help link
2021-07-22 08:40:26 +02:00
mipel
67f415c2e3 Intervention tables and model adjustments
* adds user access relation to certain models
* adds pagination to tables
* adds checked_on/_by attributes to intervention model
* adds custom column rendering for checked and registered columns
* adds first simple index filtering of default interventions for user
* adds translations
2021-07-21 15:40:34 +02:00
mipel
8f0db2ae3e Linkage improvement
* adds linking to submenus
* adds PaymentAdmin
* adds Meta class inheritance for tables
2021-07-21 14:17:18 +02:00
mipel
ee6984de00 Translations
* adds some translations
2021-07-21 13:47:10 +02:00
mipel
c07a0d730d Html enhancements
* adds some bootstrap enhancements for responsiveness
2021-07-21 13:27:35 +02:00
mipel
90262d663f Readme
* adds README.md
2021-07-21 09:45:15 +02:00
mipel
fc6f9cfbcd Index table enhancement
* minor changes
2021-07-20 17:10:49 +02:00
mipel
bfdd5665b7 Renaming models
* minor renaming
2021-07-20 17:04:07 +02:00
mipel
6ac0556601 Default bootstrap tables
* adds basic bootstrap classes to BaseTable model
2021-07-20 14:23:16 +02:00
mipel
596d61f667 Default bootstrap tables
* refactors old table index template into bootstrap-fontawesome generic table
2021-07-20 14:05:44 +02:00
mipel
c72a7faa3d Translations
* re-enable translations for groups
2021-07-20 13:20:33 +02:00
mipel
0d18dfd609 Minor css enhancements
* minor changes for <a> tags
* centers link for older news in card
2021-07-09 08:25:06 +02:00
mipel
044085bf55 Translations
* adds translations
2021-07-09 08:20:02 +02:00
mipel
39c1d9eb12 Group access constraints
* adds new decorators for all three important groups
* reorganize some default group settings for setup_data.py
2021-07-09 08:18:37 +02:00
mipel
50d98b2a83 Updates generic_table_form.html
* updates generic template
2021-07-09 07:46:20 +02:00
mipel
903a22973f User menu
* adds user notifications and management
2021-07-08 17:23:06 +02:00
mipel
f0a33b360d User menu
* starts user menu implementation
2021-07-08 11:07:33 +02:00
mipel
b1ea9aa1e2 Dashboard
* finishes work on dashboard
2021-07-07 15:50:20 +02:00
mipel
7cbcdc62ae Dashboard
* finishes work on dashboard
2021-07-07 13:46:33 +02:00
mipel
3277896ff1 News app
* adds news app for future implementations
2021-07-06 08:53:08 +02:00
mipel
7968d7d355 Landing page
* started to implement a landing page
* started news implementation
2021-07-05 14:49:32 +02:00
mipel
f654826003 Navbar improved 2021-07-02 15:21:53 +02:00
mipel
c3e1e3e669 Navbar improved 2021-07-02 15:08:51 +02:00
mipel
905e29c8f8 Navbar improved 2021-07-02 14:59:37 +02:00
mipel
8fd09abda6 Simple footer finished 2021-07-02 13:46:06 +02:00
mipel
b63cb3c493 Simple navbar finished 2021-07-02 13:12:38 +02:00
mipel
629bf4230e Simple navbar implemented 2021-07-02 11:38:44 +02:00
mipel
cd4327deba Permission rethinking
* No detailed permissions due to django constraints on model-based permissions
* instead: logic controlled permission by group membership
* adds translations
2021-07-02 10:10:03 +02:00
mipel
d086bb9465 Permission rethinking
* No detailed permissions due to django constraints on model-based permissions
* instead: logic controlled permission by group membership
* adds translations
2021-07-02 10:08:00 +02:00
mipel
c2a066fc71 Permission rethinking
* No detailed permissions due to django constraints on model-based permissions
* instead: logic controlled permission by group membership
* adds translations
2021-07-02 09:45:45 +02:00
mipel
fa5387e814 Permission rethinking
* No detailed permissions due to django constraints on model-based permissions
* instead: logic controlled permission by group membership
* adds translations
2021-07-02 09:34:39 +02:00
mipel
980d57958b Permission rethinking
* No detailed permissions due to django constraints on model-based permissions
* instead: logic controlled permission by group membership
* adds translations
2021-07-02 09:31:09 +02:00