mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix display bug for attachments
This commit is contained in:
parent
e5f7228fa9
commit
5545d1c1ba
@ -133,10 +133,10 @@ class CreateMainTables extends Migration
|
||||
$table->string('attachable_type', 255);
|
||||
$table->string('md5', 32);
|
||||
$table->string('filename', 1024);
|
||||
$table->string('title', 1024);
|
||||
$table->text('description');
|
||||
$table->text('notes');
|
||||
$table->string('mime', 200);
|
||||
$table->string('title', 1024)->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->text('notes')->nullable();
|
||||
$table->string('mime', 1024);
|
||||
$table->integer('size', false, true);
|
||||
$table->boolean('uploaded')->default(1);
|
||||
|
||||
|
@ -161,7 +161,7 @@
|
||||
<td>
|
||||
<i class="fa {{ att.mime|mimeIcon }}"></i>
|
||||
<a href="{{ route('attachments.download', att.id) }}" title="{{ att.filename }}">
|
||||
{% if att.title %}
|
||||
{% if strlen(att.title) > 0 %}
|
||||
{{ att.title }}
|
||||
{% else %}
|
||||
{{ att.filename }}
|
||||
|
Loading…
Reference in New Issue
Block a user