Skip to content

Commit

Permalink
remove no more used partials in mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Apr 22, 2024
1 parent 5f39dc8 commit 4584d1c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 52 deletions.
21 changes: 0 additions & 21 deletions app/views/mappings/_concept_mappings_selector.html.haml

This file was deleted.

11 changes: 0 additions & 11 deletions app/views/mappings/_mapping_table.html.haml
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
-# called from mappings_controller in several ways:
-# 1. mappings_controller::get_concept_table via /app/views/mappings/_concept_mappings.html.haml
-# 2. directly from mappings_controller::get_concept_table
-#NOTES on control over mapping deletion:
-#deleteMappings() is a callback that is called by "#delete_mappings_button" created below.
-#The appearance of that button is controlled by updateMappingDeletePermissions(), which
-#relies on @delete_mapping_permission in /app/views/mappings/_mapping_table.html.haml; which,
-#in turn, is set by /app/controllers/application_controller.check_delete_mapping_permission()
-#
-# The delete mappings button display is controlled by JS on page ready (see bp_mappings.js)
-# check_box_tag(name, value = "1", checked = false, options = {})
= check_box_tag "delete_mappings_permission", @delete_mapping_permission, @delete_mapping_permission, style: "display: none;"
%div#concept_mappings_tables_div
= render_alerts_container(MappingsController)
Expand Down
20 changes: 0 additions & 20 deletions app/views/mappings/_ontology_mappings.html.haml

This file was deleted.

0 comments on commit 4584d1c

Please sign in to comment.