Skip to content

Firefly III: a personal finances manager

Fix some views and buttons.

James Cole0d9800909b99
diff --git a/resources/views/budgets/index.blade.php b/resources/views/budgets/index.blade.php
index f4e1139a68..6649102182 100644
--- a/resources/views/budgets/index.blade.php
+++ b/resources/views/budgets/index.blade.php
@@ -208,9 +208,9 @@
<tr data-id="{{ $budget['id'] }}">
<td class="hidden-sm hidden-xs">
<div class="btn-group btn-group-sm">
- <a href="#" class="handle object-handle btn btn-secondary"><span class="bi bi-list"></span></a>
- <a href="{{ route('budgets.edit', $budget['id']) }}" class="btn btn-xs btn-primary"><span class="bi bi-pencil"></span></a>
- <a href="{{ route('budgets.delete', $budget['id']) }}" class="btn btn-xs btn-danger"><span class="bi bi-trash"></span></a>
+ <a href="#" class="handle object-handle btn btn-outline-primary"><span class="bi bi-list"></span></a>
+ <a href="{{ route('budgets.edit', $budget['id']) }}" class="btn btn-outline-primary"><span class="bi bi-pencil"></span></a>
+ <a href="{{ route('budgets.delete', $budget['id']) }}" class="btn btn-xs btn-outline-danger"><span class="bi bi-trash"></span></a>
</div>
</td>
<td>
diff --git a/resources/views/components/lists/attachments.blade.php b/resources/views/components/lists/attachments.blade.php
index c8f067ba4d..761da93d36 100644
--- a/resources/views/components/lists/attachments.blade.php
+++ b/resources/views/components/lists/attachments.blade.php
@@ -24,7 +24,7 @@
@endif
</a>
({{ print_nice_filesize($attachment['size']) }})
- @if('' !== (string)$attachment['notes_text'])
+ @if(array_key_exists('notes_text', $attachment) && '' !== (string)$attachment['notes_text'])
{!! parse_markdown($attachment['notes_text']) !!}
@endif
@endif
diff --git a/resources/views/layout/v3/auth.blade.php b/resources/views/layout/v3/auth.blade.php
index 0772ba36e0..45ef67dba0 100644
--- a/resources/views/layout/v3/auth.blade.php
+++ b/resources/views/layout/v3/auth.blade.php
@@ -9,6 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<!--
+ (AUTH)
If the base href URL begins with "http://" but you are sure it should start with "https://",
please visit the following page: https://bit.ly/FF3-broken-base-href
-->
diff --git a/resources/views/layout/v3/blank.blade.php b/resources/views/layout/v3/blank.blade.php
index e64eedb156..918c49aad3 100644
--- a/resources/views/layout/v3/blank.blade.php
+++ b/resources/views/layout/v3/blank.blade.php
@@ -9,6 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<!--
+ (BLANK)
If the base href URL begins with "http://" but you are sure it should start with "https://",
please visit the following page: https://bit.ly/FF3-broken-base-href
-->
diff --git a/resources/views/layout/v3/session.blade.php b/resources/views/layout/v3/session.blade.php
index 17c4047ec4..03b79bbbd3 100644
--- a/resources/views/layout/v3/session.blade.php
+++ b/resources/views/layout/v3/session.blade.php
@@ -9,6 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<!--
+ (SESSION)
If the base href URL begins with "http://" but you are sure it should start with "https://",
please visit the following page: https://bit.ly/FF3-broken-base-href
-->