Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
e885ffad
Commit
e885ffad
authored
Oct 19, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding the breadcrumb translation. Preparing for module translation
parent
b10193c0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
1 deletion
+65
-1
settings.php
Resources/lang/en/settings.php
+3
-0
settings.php
Resources/lang/fr/settings.php
+3
-0
module-settings.blade.php
Resources/views/admin/module-settings.blade.php
+57
-0
settings.blade.php
Resources/views/admin/settings.blade.php
+2
-1
No files found.
Resources/lang/en/settings.php
View file @
e885ffad
...
...
@@ -5,5 +5,8 @@ return [
'settings'
=>
'Settings'
,
'general settings'
=>
'General settings'
,
'module settings'
=>
'Module settings'
,
],
'breadcrumb'
=>
[
'settings'
=>
'Settings'
]
];
Resources/lang/fr/settings.php
View file @
e885ffad
...
...
@@ -5,5 +5,8 @@ return [
'settings'
=>
'Configurations'
,
'general settings'
=>
'Configuration générale'
,
'module settings'
=>
'Configuration des modules'
,
],
'breadcrumb'
=>
[
'settings'
=>
'Configurations'
]
];
Resources/views/admin/module-settings.blade.php
0 → 100644
View file @
e885ffad
@extends('core::layouts.master')
@section('content-header')
<h1>
{{ trans('setting::settings.title.module settings') }}
</h1>
<ol
class=
"breadcrumb"
>
<li><a
href=
"#"
><i
class=
"fa fa-cog"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
</ol>
@stop
@section('content')
@include('flash::message')
{!! Form::open(['route' => ['dashboard.setting.store'], 'method' => 'post']) !!}
<div
class=
"row"
>
<div
class=
"col-md-8"
>
<div
class=
"box box-info"
>
<div
class=
"box-header"
>
<h3
class=
"box-title"
>
{{ trans('setting::settings.title.general settings') }}
</h3>
</div>
<div
class=
"box-body"
>
<div
class=
"nav-tabs-custom"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"{{ App::getLocale() == 'en' ? 'active' : '' }}"
><a
href=
"#tab_1-1"
data-toggle=
"tab"
>
{{ trans('core::core.tab.english') }}
</a></li>
<li
class=
"{{ App::getLocale() == 'fr' ? 'active' : '' }}"
><a
href=
"#tab_2-2"
data-toggle=
"tab"
>
{{ trans('core::core.tab.french') }}
</a></li>
</ul>
<div
class=
"tab-content"
>
<div
class=
"tab-pane {{ App::getLocale() == 'en' ? 'active' : '' }}"
id=
"tab_1-1"
>
@include('setting::admin.partials.fields', ['lang' => 'en'])
</div>
<div
class=
"tab-pane {{ App::getLocale() == 'fr' ? 'active' : '' }}"
id=
"tab_2-2"
>
@include('setting::admin.partials.fields', ['lang' => 'fr'])
</div>
</div>
</div>
</div>
<div
class=
"box-footer"
>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.create') }}
</button>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{ URL::route('dashboard.user.index')}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"box box-info"
>
<div
class=
"box-header"
><h3
class=
"box-title"
>
{{ trans('setting::settings.title.module settings') }}
</h3></div>
<div
class=
"box-body"
>
<ul>
<?php
foreach
(
$modulesWithSettings
as
$module
=>
$settings
)
:
?>
<li><a
href=
"{{ URL::route('dashboard.module.settings', [$module]) }}"
>
{{ $module }}
</a></li>
<?php
endforeach
;
?>
</ul>
</div>
</div>
</div>
</div>
{!! Form::close() !!}
@stop
Resources/views/admin/settings.blade.php
View file @
e885ffad
...
...
@@ -5,7 +5,8 @@
{{ trans('setting::settings.title.settings') }}
</h1>
<ol
class=
"breadcrumb"
>
<li><a
href=
"#"
><i
class=
"fa fa-cog"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"#"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><i
class=
"fa fa-cog"
></i>
{{ trans('setting::settings.breadcrumb.settings') }}
</li>
</ol>
@stop
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment