Samson Mutunga vor 3 Jahren
Ursprung
Commit
99e1f99518
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      resources/views/app/patient/handouts-list.blade.php

+ 3 - 3
resources/views/app/patient/handouts-list.blade.php

@@ -43,9 +43,9 @@
                 <td>{{$clientHandout->handout->internal_name}}</td>
                 <td>{{$clientHandout->handout->display_name}}</td>
                 <td>
-                    <a native href="{{ $downloadLink }}" target="_blank" class="pdf-viewer-triggerd-flex align-items-center">
-                        <i class="fa fa-eye mr-2"></i>View
-                    </a>
+                    <a class="pdf-viewer-trigger" native target="_blank"
+                               href="/api/handout/download/{{ $clientHandout->handout->uid }}"
+                               title="View">View</a>
                 </td>
                 <td><b class="click-to-copy">{{ $downloadLink }}</b></td>
                 <td>