Added a way to hide the dashboard button from the footer (default)

This commit is contained in:
James Brooks
2015-07-28 16:19:47 +01:00
parent 3a44e4a809
commit 45f376e564
14 changed files with 22 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ return [
'theme' => [
'background-color' => 'Hintergrund-Farbe',
'text-color' => 'Text-Farbe',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -117,6 +117,7 @@ return [
'theme' => [
'background-color' => 'Background Color',
'text-color' => 'Text Color',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -107,6 +107,7 @@ return [
'theme' => [
'background-color' => 'Color de fondo',
'text-color' => 'Color de Texto',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -106,6 +106,7 @@ return [
'theme' => [
'background-color' => 'Couleur d\'arrière plan',
'text-color' => 'Couleur du texte',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -109,6 +109,7 @@ return [
'theme' => [
'background-color' => 'Warna Latar',
'text-color' => 'Warna Teks',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -117,6 +117,7 @@ return [
'theme' => [
'background-color' => '배경색',
'text-color' => '글자색',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -109,6 +109,7 @@ return [
'theme' => [
'background-color' => 'Achtergrondkleur',
'text-color' => 'Tekstkleur',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -109,6 +109,7 @@ return [
'theme' => [
'background-color' => 'Kolor tła',
'text-color' => 'Kolor tekstu',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -109,6 +109,7 @@ return [
'theme' => [
'background-color' => 'Cor de fundo',
'text-color' => 'Cor do Texto',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -117,6 +117,7 @@ return [
'theme' => [
'background-color' => 'Цвет фона',
'text-color' => 'Цвет текста',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -117,6 +117,7 @@ return [
'theme' => [
'background-color' => '背景色',
'text-color' => '文字颜色',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -117,6 +117,7 @@ return [
'theme' => [
'background-color' => '背景顏色',
'text-color' => '文字顏色',
'dashboard-login' => 'Show dashboard button in the footer?',
],
],

View File

@@ -31,6 +31,14 @@
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label>{{ trans('forms.settings.theme.dashboard-login') }}</label>
<input type="checkbox" value="1" name="dashboard_login_link" class="form-control" {{ Setting::get('dashboard_login_link') ? 'checked' : null }}>
</div>
</div>
</div>
{{--
<div class="row">
<div class="col-xs-4">

View File

@@ -8,7 +8,9 @@
</div>
<div class="col-sm-6">
<div class="icons">
@if($loggedUser || Setting::get('dashboard_login_link'))
<a href="/dashboard" class="icon-link"><i class="ion-levels"></i> {{ trans('dashboard.dashboard') }}</a>
@endif
@if($loggedUser)
<a href="/auth/logout" class="icon-link"><i class="ion-android-exit"></i> {{ trans('dashboard.logout') }}</a>
@endif