]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/sidebar-tree-list.blade.php
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / views / pages / sidebar-tree-list.blade.php
index f6b834f07553042e0012c7f9327ece56c93f3678..8e7db85ac21c7f0523677c2b4dc0b37cea9cfce8 100644 (file)
@@ -5,7 +5,7 @@
         <h6 class="text-muted">Attachments</h6>
         @foreach($page->files as $file)
             <div class="attachment">
-                <a href="{{ $file->getUrl() }}" @if($file->external) target="_blank" @endif><i class="zmdi zmdi-file"></i> {{ $file->name }}</a>
+                <a href="{{ $file->getUrl() }}" @if($file->external) target="_blank" @endif><i class="zmdi zmdi-{{ $file->external ? 'open-in-new' : 'file' }}"></i> {{ $file->name }}</a>
             </div>
         @endforeach
     @endif