Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Sep 25, 2023
2 parents 13bee63 + 81a982f commit 16498fd
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
|
*/

'min_php' => '7.2.5',
'min_php' => '7.4.0',


/*
Expand Down
6 changes: 6 additions & 0 deletions resources/lang/en/admin/settings/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,4 +356,10 @@
'google_login' => 'Google Workspace Login Settings',
'enable_google_login' => 'Enable users to login with Google Workspace',
'enable_google_login_help' => 'Users will not be automatically provisioned. They must have an existing account here AND in Google Workspace, and their username here must match their Google Workspace email address. ',
'mail_reply_to' => 'Mail Reply-To Address',
'mail_from' => 'Mail From Address',
'database_driver' => 'Database Driver',
'bs_table_storage' => 'Table Storage',
'timezone' => 'Timezone',

];
66 changes: 59 additions & 7 deletions resources/views/settings/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
</style>


<div class="row">
<!-- search filter list -->
<div class="list clearfix">

Expand Down Expand Up @@ -346,7 +346,7 @@
</div>
</div>
</div>

</div>



Expand All @@ -358,19 +358,19 @@
<h2 class="box-title">{{ trans('admin/settings/general.system') }}</h2>
</div>
<div class="box-body">
<div class="container row-striped col-md-11">
<div class="container row row-striped" style="width:97%">

<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.snipe_version') }}</strong>
<strong>{{ trans('admin/settings/general.snipe_version') }}:</strong>
</div>
<div class="col-md-4">
{{ config('version.app_version') }} build {{ config('version.build_version') }} ({{ config('version.hash_version') }})
</div>

<div class="col-md-2">
<strong>{{ trans('admin/settings/general.license') }}</strong>
<strong>{{ trans('admin/settings/general.license') }}:</strong>
</div>
<div class="col-md-4">
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html" rel="noopener">AGPL3</a>
Expand All @@ -381,19 +381,68 @@
<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.php') }}</strong>
<strong>{{ trans('admin/settings/general.php') }}:</strong>
</div>
<div class="col-md-4">
{{ phpversion() }}
</div>

<div class="col-md-2">
<strong>{{ trans('admin/settings/general.laravel') }}</strong>
<strong>{{ trans('admin/settings/general.laravel') }}:</strong>
</div>
<div class="col-md-4">
{{ $snipeSettings->lar_ver() }}
</div>
</div>

<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.timezone') }}:</strong>
</div>
<div class="col-md-4">
{{ config('app.timezone') }}
</div>

<div class="col-md-2">
<strong>{{ trans('admin/settings/general.database_driver') }}:</strong>
</div>
<div class="col-md-4">
{{ config('database.default') }}
</div>
</div>

<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.mail_from') }}:</strong>
</div>
<div class="col-md-4">
{{ config('mail.from.name') }}
<code>&lt;{{ config('mail.from.address') }}&gt;</code>
</div>

<div class="col-md-2">
<strong>{{ trans('admin/settings/general.mail_reply_to') }}:</strong>
</div>
<div class="col-md-4">
{{ config('mail.reply_to.name') }}
<code>&lt;{{ config('mail.reply_to.address') }}&gt;</code>
</div>
</div>

<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.bs_table_storage') }}:</strong>
</div>
<div class="col-md-10">
{{ config('session.bs_table_storage') }}
</div>

</div>

</div>
</div>
<!--/ row -->
</div>
Expand All @@ -402,6 +451,9 @@
</div><!--/col-md-8-->
</div><!--/row-->




@section('moar_scripts')
<script nonce="{{ csrf_token() }}">
Expand Down

0 comments on commit 16498fd

Please sign in to comment.