1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Licensing: Added links and tests for new licenses endpoint

For #4907
This commit is contained in:
Dan Brown
2024-03-23 22:04:18 +00:00
parent 0c524c7c8f
commit a2fd80954b
7 changed files with 52 additions and 15 deletions

View File

@@ -18,8 +18,10 @@
<h5 class="mt-xl">{{ trans('settings.system_version') }}</h5>
<div class="py-xs">
<a target="_blank" rel="noopener noreferrer" href="https://github.com/BookStackApp/BookStack/releases">
BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }}
BookStack @if(!str_starts_with($version, 'v')) version @endif {{ $version }}
</a>
<br>
<a target="_blank" href="{{ url('/licenses') }}" class="text-muted">{{ trans('settings.license_details') }}</a>
</div>
</div>