Skip to content

Commit 13ec24d

Browse files
committed
remove useless old bootstrap 3 css classes
1 parent 358873b commit 13ec24d

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

crm/views.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ class ContactDetail(PydiciNonPublicdMixin, ThirdPartyMixin, DetailView):
9898
def contact_list(request):
9999
return render(request, "crm/contact_list.html",
100100
{"data_url": reverse("crm:all_contacts_table_DT"),
101-
"datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [1] },
102-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [6]}],
101+
"datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [1] }],
103102
"order": [[0, "asc"]] ''',
104103
"user": request.user})
105104

@@ -471,8 +470,7 @@ def company_detail(request, company_id):
471470
"supplier_lead_data_url": reverse('leads:supplier_company_lead_table_DT', args=[company.id, ]),
472471
"businessbroker_lead_data_url": reverse('leads:businessbroker_lead_table_DT', args=[company.id,]),
473472
"mission_data_url": reverse('staffing:client_company_mission_table_DT', args=[company.id,]),
474-
"mission_datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [4, 8, 9, 10] },
475-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [6, 7,8]}],
473+
"mission_datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [4, 8, 9, 10] }],
476474
"order": [[0, "asc"]] ''',
477475
"data_for_other_subsidiaries": data_for_other_subsidiaries,
478476
"companies": companies,

expense/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ def expenses_history(request):
210210
"data_options": ''' "pageLength": 25,
211211
"order": [[0, "desc"]],
212212
"columnDefs": [{ "orderable": false, "targets": [6,] },
213-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [2, 10, 12, 13]},
214213
{ className: "description", "targets": [3]},
215214
{ className: "amount", "targets": [5]}],
216215
"drawCallback": function( oSettings ) {htmx.process(document.body); }''',

leads/views.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,11 @@ def csv_export(request, target):
207207
def review(request):
208208
return render(request, "leads/review.html",
209209
{"active_data_url": reverse('leads:active_lead_table_DT'),
210-
"active_data_options": ''' "columnDefs": [{ "orderable": false, "targets": [5,8] },
211-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [10,11,12]}],
210+
"active_data_options": ''' "columnDefs": [{ "orderable": false, "targets": [5,8] }],
212211
"pageLength": 25,
213212
"order": [[9, "asc"]] ''',
214213
"recent_archived_data_url": reverse('leads:recent_archived_lead_table_DT'),
215-
"recent_archived_data_options" : ''' "columnDefs": [{ "orderable": false, "targets": [5,8] },
216-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [10,11]}],
214+
"recent_archived_data_options": ''' "columnDefs": [{ "orderable": false, "targets": [5,8] }],
217215
"order": [[9, "asc"]] ''',
218216
"user": request.user})
219217

staffing/views.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ def missions(request, only_active=True):
132132
return render(request, "staffing/missions.html",
133133
{"all": not only_active,
134134
"data_url": data_url,
135-
"datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [4, 8, 9] },
136-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [6,7,8,9]}],
135+
"datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [4, 8, 9] }],
137136
"order": [[0, "asc"]],
138137
"drawCallback": function( oSettings ) {htmx.process(document.body); }''',
139138
"user": request.user})
@@ -266,8 +265,7 @@ def consultant_missions(request, only_active=True, consultant_id=None):
266265
{"all": not only_active,
267266
"consultant": consultant,
268267
"data_url": data_url,
269-
"datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [4, 8, 9] },
270-
{ className: "hidden-xs hidden-sm hidden-md", "targets": [6,7,8,9]}],
268+
"datatable_options": ''' "columnDefs": [{ "orderable": false, "targets": [4, 8, 9] }],
271269
"order": [[3, "asc"]],
272270
"drawCallback": function( oSettings ) {htmx.process(document.body); }
273271
''',

0 commit comments

Comments
 (0)