Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
admin-fe
Commits
27be3dd0
Commit
27be3dd0
authored
4 years ago
by
Angelina Filippova
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/support-preload-settings' into 'develop'
Support preload settings Closes
#150
See merge request
!162
parents
b4ed2dc8
9d318698
Branches
Branches containing commit
No related tags found
1 merge request
!162
Support preload settings
Pipeline
#30083
passed
4 years ago
Stage: build
Stage: test
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/views/settings/components/Frontend.vue
+10
-0
10 additions, 0 deletions
src/views/settings/components/Frontend.vue
with
11 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
27be3dd0
...
...
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
-
Allow managing user's actor_type field via Admin API
-
Add Pleroma.Web.Preload settings on Frontend tab
### Fixed
...
...
This diff is collapsed.
Click to expand it.
src/views/settings/components/Frontend.vue
+
10
−
0
View file @
27be3dd0
...
...
@@ -27,6 +27,10 @@
<el-form
:model=
"markupData"
:label-position=
"labelPosition"
:label-width=
"labelWidth"
>
<setting
:setting-group=
"markup"
:data=
"markupData"
/>
</el-form>
<el-divider
v-if=
"preload"
class=
"divider thick-line"
/>
<el-form
:model=
"preloadData"
:label-position=
"labelPosition"
:label-width=
"labelWidth"
>
<setting
:setting-group=
"preload"
:data=
"preloadData"
/>
</el-form>
<div
class=
"submit-button-container"
>
<el-button
class=
"submit-button"
type=
"primary"
@
click=
"onSubmit"
>
Submit
</el-button>
</div>
...
...
@@ -106,6 +110,12 @@ export default {
markupData
()
{
return
_
.
get
(
this
.
settings
.
settings
,
[
'
:pleroma
'
,
'
:markup
'
])
||
{}
},
preload
()
{
return
this
.
settings
.
description
.
find
(
setting
=>
setting
.
key
===
'
Pleroma.Web.Preload
'
)
},
preloadData
()
{
return
_
.
get
(
this
.
settings
.
settings
,
[
'
:pleroma
'
,
'
Pleroma.Web.Preload
'
])
||
{}
},
staticFe
()
{
return
this
.
settings
.
description
.
find
(
setting
=>
setting
.
key
===
'
:static_fe
'
)
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment