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
d1d63f8f
Commit
d1d63f8f
authored
Jan 09, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing need for an asgard subfolder in the themes
parent
78d761e9
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
22 deletions
+22
-22
config.php
Modules/Core/Config/config.php
+2
-2
CoreServiceProvider.php
Modules/Core/Providers/CoreServiceProvider.php
+2
-2
config.php
Modules/Dashboard/Config/config.php
+2
-2
config.php
Modules/Media/Config/config.php
+2
-2
config.php
Modules/Menu/Config/config.php
+2
-2
config.php
Modules/Page/Config/config.php
+2
-2
config.php
Modules/Setting/Config/config.php
+2
-2
config.php
Modules/Tag/Config/config.php
+2
-2
config.php
Modules/Translation/Config/config.php
+2
-2
config.php
Modules/User/Config/config.php
+2
-2
config.php
Modules/Workshop/Config/config.php
+2
-2
No files found.
Modules/Core/Config/config.php
View file @
d1d63f8f
...
...
@@ -25,9 +25,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/Core/Providers/CoreServiceProvider.php
View file @
d1d63f8f
...
...
@@ -176,10 +176,10 @@ class CoreServiceProvider extends ServiceProvider
if
(
count
(
$themes
)
>
0
)
{
if
(
$themes
[
'backend'
]
!==
null
&&
array_get
(
$moduleConfig
,
'backend-theme'
)
===
true
)
{
$hints
[]
=
$themes
[
'backend'
]
.
'/views/modules/
asgard/
'
.
$moduleName
;
$hints
[]
=
$themes
[
'backend'
]
.
'/views/modules/'
.
$moduleName
;
}
if
(
$themes
[
'frontend'
]
!==
null
&&
array_get
(
$moduleConfig
,
'frontend-theme'
)
===
true
)
{
$hints
[]
=
$themes
[
'frontend'
]
.
'/views/modules/
asgard/
'
.
$moduleName
;
$hints
[]
=
$themes
[
'frontend'
]
.
'/views/modules/'
.
$moduleName
;
}
}
if
(
array_get
(
$moduleConfig
,
'resources'
)
===
true
)
{
...
...
Modules/Dashboard/Config/config.php
View file @
d1d63f8f
...
...
@@ -21,9 +21,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
true
,
...
...
Modules/Media/Config/config.php
View file @
d1d63f8f
...
...
@@ -59,9 +59,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/Menu/Config/config.php
View file @
d1d63f8f
...
...
@@ -29,9 +29,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/Page/Config/config.php
View file @
d1d63f8f
...
...
@@ -64,9 +64,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/Setting/Config/config.php
View file @
d1d63f8f
...
...
@@ -21,9 +21,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/Tag/Config/config.php
View file @
d1d63f8f
...
...
@@ -23,9 +23,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/Translation/Config/config.php
View file @
d1d63f8f
...
...
@@ -29,9 +29,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
Modules/User/Config/config.php
View file @
d1d63f8f
...
...
@@ -109,9 +109,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
true
,
...
...
Modules/Workshop/Config/config.php
View file @
d1d63f8f
...
...
@@ -21,9 +21,9 @@ return [
| By default every extra namespace will be set to false.
*/
'useViewNamespaces'
=>
[
// Read module views from /Themes/<backend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<backend-theme-name>/views/modules/<module-name>
'backend-theme'
=>
false
,
// Read module views from /Themes/<frontend-theme-name>/views/modules/
asgard/
<module-name>
// Read module views from /Themes/<frontend-theme-name>/views/modules/<module-name>
'frontend-theme'
=>
false
,
// Read module views from /resources/views/asgard/<module-name>
'resources'
=>
false
,
...
...
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