Samson Mutunga 3 年之前
父節點
當前提交
99e1f99518
共有 1 個文件被更改,包括 3 次插入3 次删除
  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>