Skip to content

Firefly III: a personal finances manager

New buttons and links [skip ci]

James Coled03de527357f
diff --git a/resources/views/attachments/index.twig b/resources/views/attachments/index.twig
index 120c2ddb08..24b687c94b 100644
--- a/resources/views/attachments/index.twig
+++ b/resources/views/attachments/index.twig
@@ -28,9 +28,17 @@
{% for att in set %}
<tr>
<td>
-
+ <div class="btn-group btn-group-xs">
+ <a href="{{ route('attachments.edit', att.id) }}" class="btn btn-default"><i class="fa fa-pencil"></i></a>
+ <a href="{{ route('attachments.delete', att.id) }}" class="btn btn-danger"><i class="fa fa-trash"></i></a>
+ <a href="{{ route('attachments.download', att.id) }}" class="btn btn-default"><i class="fa fa-download"></i></a>
+ </div>
+ </td>
+ <td>
+ <a href="{{ route('attachments.view', att.id) }}" title="{{ att.filename }}">
+ {{ att.filename }}
+ </a>
</td>
- <td>{{ att.filename }}</td>
<td>{{ att.size|filesize }}</td>
<td>{{ att.mime }}</td>
<td>