Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
213
Issues
213
List
Boards
Labels
Service Desk
Milestones
Merge Requests
32
Merge Requests
32
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
31683298
Commit
31683298
authored
2 hours ago
by
Marcelo Rivera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): added default tile ratio for pro settings
parent
06925ad7
epic/minds-pro
1 merge request
!308
WIP: (feat): Minds Pro
Pipeline
#81601498
failed with stages
in 4 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Settings.php
Core/Pro/Settings.php
+5
-2
No files found.
Core/Pro/Settings.php
View file @
31683298
...
...
@@ -55,6 +55,8 @@ class Settings implements JsonSerializable
const
DEFAULT_PLAIN_BACKGROUND_COLOR
=
'#ffffff'
;
const
DEFAULT_TILE_RATIO
=
'16:9'
;
/** @var int */
protected
$userGuid
;
...
...
@@ -83,7 +85,7 @@ class Settings implements JsonSerializable
protected
$backgroundImage
;
/** @var string */
protected
$tileRatio
;
protected
$tileRatio
=
'16:9'
;
/** @var string */
protected
$logoImage
;
...
...
@@ -116,6 +118,7 @@ class Settings implements JsonSerializable
$textColor
=
$this
->
textColor
?:
static
::
DEFAULT_TEXT_COLOR
;
$primaryColor
=
$this
->
primaryColor
?:
static
::
DEFAULT_PRIMARY_COLOR
;
$plainBackgroundColor
=
$this
->
plainBackgroundColor
?:
static
::
DEFAULT_PLAIN_BACKGROUND_COLOR
;
$tileRatio
=
$this
->
tileRatio
?:
static
::
DEFAULT_TILE_RATIO
;
return
[
'user_guid'
=>
(
string
)
$this
->
userGuid
,
...
...
@@ -126,7 +129,7 @@ class Settings implements JsonSerializable
'text_color'
=>
$textColor
,
'primary_color'
=>
$primaryColor
,
'plain_background_color'
=>
$plainBackgroundColor
,
'tile_ratio'
=>
$t
his
->
t
ileRatio
,
'tile_ratio'
=>
$tileRatio
,
'footer_text'
=>
$this
->
footerText
,
'footer_links'
=>
$this
->
footerLinks
,
'tag_list'
=>
$this
->
tagList
,
...
...
This diff is collapsed.
Click to expand it.
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