mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Added database version to system info
This commit is contained in:
parent
a35db9f1d3
commit
aa88046ca4
@ -351,9 +351,6 @@ msgstr ""
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
msgid "Released on"
|
||||
msgstr ""
|
||||
|
||||
msgid "Added %1$s of %2$s to stock"
|
||||
msgstr ""
|
||||
|
||||
|
@ -69,6 +69,7 @@ class ApplicationService extends BaseService
|
||||
'grocy_version' => $this->GetInstalledVersion(),
|
||||
'php_version' => phpversion(),
|
||||
'sqlite_version' => $sqliteVersion,
|
||||
'db_version' => $this->getDatabase()->migrations()->max('migration'),
|
||||
'os' => php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v') . ' ' . php_uname('m'),
|
||||
'client' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'unknown'
|
||||
];
|
||||
|
@ -36,7 +36,7 @@
|
||||
<td><code>{{ $versionInfo->Version }}</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right">{{ $__t('Released on') }}</td>
|
||||
<td class="text-right">Released on</td>
|
||||
<td><code>{{ $versionInfo->ReleaseDate }}</code> <time class="timeago timeago-contextual text-muted"
|
||||
datetime="{{ $versionInfo->ReleaseDate }}"></time></td>
|
||||
</tr>
|
||||
@ -48,6 +48,10 @@
|
||||
<td class="text-right">SQLite Version</td>
|
||||
<td><code>{{ $systemInfo['sqlite_version'] }}</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right">Database Version</td>
|
||||
<td><code>{{ $systemInfo['db_version'] }}</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right">OS</td>
|
||||
<td><code>{{ $systemInfo['os'] }}</code></td>
|
||||
@ -78,7 +82,7 @@
|
||||
data-toggle="collapse-next"
|
||||
href="#">
|
||||
Version <span class="font-weight-bold">{{ $changelogItem['version'] }}</span><br>
|
||||
{{ $__t('Released on') }} <span class="font-weight-bold">{{ $changelogItem['release_date'] }}</span>
|
||||
Released on <span class="font-weight-bold">{{ $changelogItem['release_date'] }}</span>
|
||||
<time class="timeago timeago-contextual text-muted"
|
||||
datetime="{{ $changelogItem['release_date'] }}"></time>
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user