mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-02 22:03:48 +08: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 |