mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
Fix for #1790
This commit is contained in:
parent
8cd0d5e1ef
commit
ea48c23535
@ -109,32 +109,30 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-body table-responsive no-padding">
|
<div class="box-body table-responsive no-padding">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
{% for att in bill.data.attachments.data %}
|
{% for att in object.data.attachments.data %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="btn-group btn-group-xs">
|
<div class="btn-group btn-group-xs">
|
||||||
<a href="{{ route('attachments.edit', att.data.id) }}" class="btn btn-default"><i class="fa fa-pencil"></i></a>
|
<a href="{{ route('attachments.edit', att.id) }}" class="btn btn-default"><i class="fa fa-pencil"></i></a>
|
||||||
<a href="{{ route('attachments.delete', att.data.id) }}" class="btn btn-danger"><i class="fa fa-trash"></i></a>
|
<a href="{{ route('attachments.delete', att.id) }}" class="btn btn-danger"><i class="fa fa-trash"></i></a>
|
||||||
|
<a href="{{ route('attachments.view', att.id) }}" class="btn btn-default"><i class="fa fa-download"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<i class="fa {{ att.data.mime|mimeIcon }}"></i>
|
<i class="fa {{ att.mime|mimeIcon }}"></i>
|
||||||
<a href="{{ route('attachments.download', att.data.id) }}" title="{{ att.data.filename }}">
|
<a href="{{ route('attachments.download', att.id) }}" title="{{ att.filename }}">
|
||||||
{% if att.data.title %}
|
{% if att.title %}
|
||||||
{{ att.data.title }}
|
{{ att.title }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ att.data.filename }}
|
{{ att.filename }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
({{ att.data.size|filesize }})
|
({{ att.size|filesize }})
|
||||||
{% if att.data.description %}
|
{% if att.description %}
|
||||||
<br/>
|
<br/>
|
||||||
<em>{{ att.data.description }}</em>
|
<em>{{ att.description }}</em>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td style="width:100px;">
|
|
||||||
<img src="{{ route('attachments.preview', att.data.id) }}"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user