Quellcode durchsuchen

All LS modules - toggle relevance

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
fa4da14d62

+ 4 - 0
resources/views/app/patient/modules/lifestyle_general/edit.blade.php

@@ -449,6 +449,10 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_lifestyle_general-container'])
+
         }
 
         window.segmentInitializers.lifestyle_general = init;

+ 3 - 0
resources/views/app/patient/modules/lifestyle_nutrition/edit.blade.php

@@ -1305,6 +1305,9 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_nutrition_assessment-container'])
         }
 
         window.segmentInitializers.lifestyle_nutrition = init;

+ 4 - 0
resources/views/app/patient/modules/lifestyle_physical_activity/edit.blade.php

@@ -417,6 +417,10 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_physical_activity_assessment-container'])
+
         }
 
         window.segmentInitializers.lifestyle_physical_activity = init;

+ 4 - 0
resources/views/app/patient/modules/lifestyle_sleep/edit.blade.php

@@ -813,6 +813,10 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_sleep_assessment-container'])
+
         }
 
         window.segmentInitializers.lifestyle_sleep = init;

+ 4 - 0
resources/views/app/patient/modules/lifestyle_social/edit.blade.php

@@ -297,6 +297,10 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_social_relationships_assessment-container'])
+
         }
 
         window.segmentInitializers.lifestyle_social = init;

+ 4 - 0
resources/views/app/patient/modules/lifestyle_stress/edit.blade.php

@@ -702,6 +702,10 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_stress_assessment-container'])
+
         }
 
         window.segmentInitializers.lifestyle_stress = init;

+ 4 - 0
resources/views/app/patient/modules/lifestyle_substances/edit.blade.php

@@ -971,6 +971,10 @@ if ($point->lastChildReview && $point->lastChildReview->data) {
                     }
                 }
             });
+
+            // if in popup (omega template), add provision to toggle relevance
+            @include('app.patient.segment-templates._common_actions.toggle-relevance', ['container' => '#edit-univ_sub_substance_use_assessment-container'])
+
         }
 
         window.segmentInitializers.lifestyle_substances = init;