mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-04-27 17:19:32 -05:00
Show new-version indicator on button as well
This commit is contained in:
@@ -157,6 +157,11 @@ h2 {
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.is-indicator-button {
|
||||
display: inline-block;
|
||||
left: -18px;
|
||||
}
|
||||
|
||||
.is-background-success-light {
|
||||
background-color: rgb(215, 253, 200);
|
||||
}
|
||||
|
||||
@@ -1028,6 +1028,9 @@
|
||||
<?php if (env('APP_SERVICE_URL')) { ?>
|
||||
<div class="version-check">
|
||||
<a class="button is-link" href="{{ url('/admin?cv=1&tab=info') }}">{{ __('app.check_for_new_version') }}</a>
|
||||
@if (VersionModule::getCachedVersion() > config('version'))
|
||||
<i class="is-indicator-tab is-indicator-button"></i>
|
||||
@endif
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user