mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
8 lines
374 B
PHP
8 lines
374 B
PHP
|
@foreach($attachments as $attachment)
|
||
|
<div class="attachment icon-list">
|
||
|
<a class="icon-list-item py-xs" href="{{ $attachment->getUrl() }}" @if($attachment->external) target="_blank" @endif>
|
||
|
<span class="icon">@icon($attachment->external ? 'export' : 'file')</span>
|
||
|
<span>{{ $attachment->name }}</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
@endforeach
|