mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
33 lines
1.3 KiB
PHP
33 lines
1.3 KiB
PHP
@if (!Utils::isPro() && isset($advanced) && $advanced)
|
|
<div class="alert alert-warning" style="font-size:larger;">
|
|
<center>
|
|
{!! trans('texts.pro_plan_advanced_settings', ['link'=>'<a href="#" onclick="showProPlan(\''.$selected.'\')">'.trans('texts.pro_plan.remove_logo_link').'</a>']) !!}
|
|
</center>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
|
@foreach([
|
|
BASIC_SETTINGS => \App\Models\Account::$basicSettings,
|
|
ADVANCED_SETTINGS => \App\Models\Account::$advancedSettings,
|
|
] as $type => $settings)
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" style="color:white">
|
|
{{ trans("texts.{$type}") }}
|
|
@if ($type == ADVANCED_SETTINGS && !Utils::isPro())
|
|
<sup>{{ strtoupper(trans('texts.pro')) }}</sup>
|
|
@endif
|
|
</div>
|
|
<div class="list-group">
|
|
@foreach ($settings as $section)
|
|
<a href="{{ URL::to("settings/{$section}") }}" class="list-group-item {{ $selected === $section ? 'selected' : '' }}"
|
|
style="width:100%;text-align:left">{{ trans("texts.{$section}") }}</a>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="col-md-9"> |