chore: Remove course links from training doctypes

This commit is contained in:
Deepesh Garg 2022-04-28 13:49:34 +05:30
parent 60b693f84f
commit 8dcbbf1b9e
5 changed files with 201 additions and 859 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"actions": [],
"autoname": "HR-TRF-.YYYY.-.#####",
"creation": "2016-08-08 06:35:34.158568",
"creation": "2022-01-27 13:14:35.935580",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
@ -46,9 +46,8 @@
{
"fetch_from": "training_event.course",
"fieldname": "course",
"fieldtype": "Link",
"fieldtype": "Data",
"label": "Course",
"options": "Course",
"read_only": 1
},
{
@ -101,7 +100,7 @@
],
"is_submittable": 1,
"links": [],
"modified": "2022-01-18 19:32:20.805277",
"modified": "2022-04-28 13:32:29.261421",
"modified_by": "Administrator",
"module": "HR",
"name": "Training Feedback",

View File

@ -1,19 +0,0 @@
<div class="web-list-item">
<div class="row">
<div class="col-xs-4">
{{ doc.course }}
</div>
<div class="col-xs-2">
{{ doc.room }}
</div>
<div class="col-xs-2">
{{doc.schedule_date }}
</div>
<div class="col-xs-2">
{{ doc.from_time }}
</div>
<div class="col-xs-2">
{{ doc.to_time }}
</div>
</div>
</div>

View File

@ -1,18 +0,0 @@
<div class="web-list-item">
<a href="/courses?course={{ doc.course }}">
<div class="row">
<div class="col-xs-5">
{{ doc.course }}
</div>
<div class="col-xs-3">
{{ doc.name }}
</div>
<div class="col-xs-2">
{{doc.academic_term }}
</div>
<div class="col-xs-2">
{{ doc.academic_year }}
</div>
</div>
</a>
</div>

View File

@ -1 +0,0 @@
{% macro back_link(doc) %}&back-to=/courses?course={{ doc.name }}&back-to-title={{ doc.course_name }}{% endmacro %}