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
ab402d2d
Commit
ab402d2d
authored
Apr 17, 2018
by
Naval Kishore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only menu commit
parent
5de11460
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
57 additions
and
1 deletion
+57
-1
2018_04_08_110347_add_description_column_to_menuitems_translation_table.php
...add_description_column_to_menuitems_translation_table.php
+32
-0
Menuitem.php
Modules/Menu/Entities/Menuitem.php
+1
-0
MenuitemTranslation.php
Modules/Menu/Entities/MenuitemTranslation.php
+1
-1
create-trans-fields.blade.php
...ws/admin/menuitems/partials/create-trans-fields.blade.php
+5
-0
edit-trans-fields.blade.php
...iews/admin/menuitems/partials/edit-trans-fields.blade.php
+6
-0
menu.php
Modules/Translation/Resources/lang/menu/de/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/en/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/es/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/fr/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/it/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/ko/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/nl/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/pl/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/pt/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/ru/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/tr/menu.php
+1
-0
menu.php
Modules/Translation/Resources/lang/menu/zh/menu.php
+1
-0
blur-background04.jpg
Themes/Adminlte/assets/img/blur-background04.jpg
+0
-0
blur-background08.jpg
Themes/Adminlte/assets/img/blur-background08.jpg
+0
-0
blur-background09.jpg
Themes/Adminlte/assets/img/blur-background09.jpg
+0
-0
fontawesome-webfont.eot
.../assets/vendor/font-awesome/fonts/fontawesome-webfont.eot
+0
-0
fontawesome-webfont.ttf
.../assets/vendor/font-awesome/fonts/fontawesome-webfont.ttf
+0
-0
No files found.
Modules/Menu/Database/Migrations/2018_04_08_110347_add_description_column_to_menuitems_translation_table.php
0 → 100644
View file @
ab402d2d
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
AddDescriptionColumnToMenuitemsTranslationTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'menu__menuitem_translations'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'description'
)
->
after
(
'uri'
)
->
nullable
()
->
default
(
null
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'menu__menuitem_translations'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'description'
);
});
}
}
Modules/Menu/Entities/Menuitem.php
View file @
ab402d2d
...
...
@@ -27,6 +27,7 @@ class Menuitem extends Model
'link_type'
,
'locale'
,
'class'
,
'description'
,
];
protected
$table
=
'menu__menuitems'
;
...
...
Modules/Menu/Entities/MenuitemTranslation.php
View file @
ab402d2d
...
...
@@ -6,6 +6,6 @@ use Illuminate\Database\Eloquent\Model;
class
MenuitemTranslation
extends
Model
{
public
$fillable
=
[
'title'
,
'uri'
,
'url'
,
'status'
,
'locale'
];
public
$fillable
=
[
'title'
,
'uri'
,
'url'
,
'status'
,
'locale'
,
'description'
];
protected
$table
=
'menu__menuitem_translations'
;
}
Modules/Menu/Resources/views/admin/menuitems/partials/create-trans-fields.blade.php
View file @
ab402d2d
...
...
@@ -16,6 +16,11 @@
{!! Form::text("{$lang}[url]", old("{$lang}[url]"), ['class' => 'form-control', 'placeholder' => trans('menu::menu.form.url')]) !!}
{!! $errors->first("{$lang}[url]", '
<span
class=
"help-block"
>
:message
</span>
') !!}
</div>
<div
class=
"form-group{{ $errors->has("
{$
lang
}[
description
]")
?
'
has-error
'
:
''
}}"
>
{!! Form::label("{$lang}[description]", trans('menu::menu.form.description')) !!}
{!! Form::text("{$lang}[description]", old("{$lang}[description]"), ['class' => 'form-control', 'placeholder' => trans('menu::menu.form.description')]) !!}
{!! $errors->first("{$lang}[description]", '
<span
class=
"help-block"
>
:message
</span>
') !!}
</div>
<div
class=
"checkbox"
>
<label
for=
"{{$lang}}[status]"
>
...
...
Modules/Menu/Resources/views/admin/menuitems/partials/edit-trans-fields.blade.php
View file @
ab402d2d
...
...
@@ -19,6 +19,12 @@
{!! Form::text("{$lang}[url]", old("{$lang}[url]", $old), ['class' => 'form-control', 'placeholder' => trans('menu::menu.form.url')]) !!}
{!! $errors->first("{$lang}[url]", '
<span
class=
"help-block"
>
:message
</span>
') !!}
</div>
<div
class=
"form-group{{ $errors->has("
{$
lang
}[
description
]")
?
'
has-error
'
:
''
}}"
>
{!! Form::label("{$lang}[description]", trans('menu::menu.form.description')) !!}
<?php
$old
=
$menuItem
->
hasTranslation
(
$lang
)
?
$menuItem
->
translate
(
$lang
)
->
description
:
''
?>
{!! Form::text("{$lang}[description]", old("{$lang}[description]", $old), ['class' => 'form-control', 'placeholder' => trans('menu::menu.form.description')]) !!}
{!! $errors->first("{$lang}[description]", '
<span
class=
"help-block"
>
:message
</span>
') !!}
</div>
<div
class=
"checkbox"
>
<?php
$old
=
$menuItem
->
hasTranslation
(
$lang
)
?
$menuItem
->
translate
(
$lang
)
->
status
:
false
?>
<label
for=
"{{$lang}}[status]"
>
...
...
Modules/Translation/Resources/lang/menu/de/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Hauptmenü (für das Frontend-Routing)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Zurück zur Übersicht'
,
...
...
Modules/Translation/Resources/lang/menu/en/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Primary menu (used for front-end routing)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Go back to the menu index'
,
...
...
Modules/Translation/Resources/lang/menu/es/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Menú principal (usado para rutas del sitio)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Regresar'
,
...
...
Modules/Translation/Resources/lang/menu/fr/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Menu principal (utilisé pour le routage frontal)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Retour vers l\'index des menus'
,
...
...
Modules/Translation/Resources/lang/menu/it/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Menu primario (usato per il routing front-end)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Indietro all\'indice dei menu'
,
...
...
Modules/Translation/Resources/lang/menu/ko/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'주 메뉴 (프론트엔드 라우팅에 사용됨)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'메뉴 목록으로 돌아가기'
,
...
...
Modules/Translation/Resources/lang/menu/nl/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Primair menu (gebruikt voor front-end routing)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Ga terug naar het menu overzicht'
,
...
...
Modules/Translation/Resources/lang/menu/pl/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Menu główne (używane jako nawigacja na stronie głównej)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Powrót do zarządzania menu'
,
...
...
Modules/Translation/Resources/lang/menu/pt/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Menu principal (usado para as rotas do site)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Voltar para a listagem'
,
...
...
Modules/Translation/Resources/lang/menu/ru/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Начальное меню (используется для маршрутизации внешнего интерфейса)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Вернуться к списку меню'
,
...
...
Modules/Translation/Resources/lang/menu/tr/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'Birincil menü (frond-end yönlendirmesi için kullanılır)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'Menüye geri dön'
,
...
...
Modules/Translation/Resources/lang/menu/zh/menu.php
View file @
ab402d2d
...
...
@@ -31,6 +31,7 @@ return [
'uri'
=>
'URI'
,
'url'
=>
'URL'
,
'primary'
=>
'主菜单 (用于前台导航)'
,
'description'
=>
'Menu Description (Can be used to provide extra information)'
,
],
'navigation'
=>
[
'back to index'
=>
'返回菜单首页'
,
...
...
Themes/Adminlte/assets/img/blur-background04.jpg
View replaced file @
5de11460
View file @
ab402d2d
393 KB
|
W:
|
H:
393 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Themes/Adminlte/assets/img/blur-background08.jpg
View replaced file @
5de11460
View file @
ab402d2d
369 KB
|
W:
|
H:
369 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Themes/Adminlte/assets/img/blur-background09.jpg
View replaced file @
5de11460
View file @
ab402d2d
382 KB
|
W:
|
H:
382 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Themes/Adminlte/assets/vendor/font-awesome/fonts/fontawesome-webfont.eot
View file @
ab402d2d
No preview for this file type
Themes/Adminlte/assets/vendor/font-awesome/fonts/fontawesome-webfont.ttf
View file @
ab402d2d
No preview for this file type
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