Introduce detail and edit URLs as properties in AK model
This way, the frontend views will be used when AKSubmission is installed and active, or otherwise the link to the built-in AK edit form in backend This reduces the coupling between AKSubmission and other apps that previously needed that app Use that new property in all places where previously an URL to the submission view was used (for consistency and to allow changes in one place in AKSubmission, too) This implements #166
Showing
- AKDashboard/views.py 2 additions, 4 deletionsAKDashboard/views.py
- AKModel/admin.py 1 addition, 1 deletionAKModel/admin.py
- AKModel/models.py 13 additions, 0 deletionsAKModel/models.py
- AKModel/templates/admin/AKModel/render_ak_messages.html 1 addition, 1 deletionAKModel/templates/admin/AKModel/render_ak_messages.html
- AKModel/templates/admin/AKModel/requirements_overview.html 2 additions, 2 deletionsAKModel/templates/admin/AKModel/requirements_overview.html
- AKPlan/templates/AKPlan/encode_events.html 1 addition, 1 deletionAKPlan/templates/AKPlan/encode_events.html
- AKPlan/templates/AKPlan/plan_room.html 1 addition, 1 deletionAKPlan/templates/AKPlan/plan_room.html
- AKPlan/templates/AKPlan/plan_track.html 1 addition, 1 deletionAKPlan/templates/AKPlan/plan_track.html
- AKPlan/templates/AKPlan/slots_table.html 1 addition, 1 deletionAKPlan/templates/AKPlan/slots_table.html
- AKScheduling/templates/admin/AKScheduling/special_attention.html 4 additions, 4 deletions...uling/templates/admin/AKScheduling/special_attention.html
- AKScheduling/templates/admin/AKScheduling/unscheduled.html 1 addition, 1 deletionAKScheduling/templates/admin/AKScheduling/unscheduled.html
- AKSubmission/models.py 2 additions, 2 deletionsAKSubmission/models.py
- AKSubmission/templates/AKSubmission/ak_detail.html 1 addition, 1 deletionAKSubmission/templates/AKSubmission/ak_detail.html
- AKSubmission/templates/AKSubmission/ak_edit.html 1 addition, 1 deletionAKSubmission/templates/AKSubmission/ak_edit.html
- AKSubmission/templates/AKSubmission/ak_history.html 2 additions, 2 deletionsAKSubmission/templates/AKSubmission/ak_history.html
- AKSubmission/templates/AKSubmission/ak_linked_list_inline.html 1 addition, 1 deletion...mission/templates/AKSubmission/ak_linked_list_inline.html
- AKSubmission/templates/AKSubmission/ak_table.html 3 additions, 3 deletionsAKSubmission/templates/AKSubmission/ak_table.html
- AKSubmission/templates/AKSubmission/akmessage_add.html 2 additions, 2 deletionsAKSubmission/templates/AKSubmission/akmessage_add.html
- AKSubmission/templates/AKSubmission/akslot_add_update.html 2 additions, 2 deletionsAKSubmission/templates/AKSubmission/akslot_add_update.html
- AKSubmission/templates/AKSubmission/akslot_delete.html 2 additions, 2 deletionsAKSubmission/templates/AKSubmission/akslot_delete.html
Loading
Please register or sign in to comment