Parcourir la source

Show "Check Video" only to admins

Vijayakrishnan il y a 4 ans
Parent
commit
7824d09279
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      resources/views/layouts/patient.blade.php

+ 2 - 0
resources/views/layouts/patient.blade.php

@@ -612,9 +612,11 @@
                                         </div>
                                     </section>
                                     <section class="vbox mt-2 align-self-start ml-1">
+                                        @if($performer->pro->pro_type == 'ADMIN')
                                         <div>
                                             <button class="col-2-button" onclick="return openInRHS('/pro/check-video/{{ $patient->uid }}')">Check Video</button>
                                         </div>
+                                        @endif
                                         <div>
                                             <button class="col-2-button" onclick="return openInRHS('/pro/meet/{{ $patient->uid }}')">Join Video</button>
                                         </div>