Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
342
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TransFem.org
Sharkey
Commits
a2b8097b
Unverified
Commit
a2b8097b
authored
3 years ago
by
NoriDev
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
歓迎ページでバナー画像が表示されない問題を修正 (#7559)
* 歓迎ページでバナー画像が表示されない問題 * revert * 背景画像設定オプションを追加
parent
22bbee1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
locales/ja-JP.yml
+1
-0
1 addition, 0 deletions
locales/ja-JP.yml
src/client/components/featured-photos.vue
+1
-3
1 addition, 3 deletions
src/client/components/featured-photos.vue
src/client/pages/instance/settings.vue
+8
-0
8 additions, 0 deletions
src/client/pages/instance/settings.vue
with
10 additions
and
3 deletions
locales/ja-JP.yml
+
1
−
0
View file @
a2b8097b
...
...
@@ -326,6 +326,7 @@ driveCapacityPerRemoteAccount: "リモートユーザーひとりあたりのド
inMb
:
"
メガバイト単位"
iconUrl
:
"
アイコン画像のURL
(faviconなど)"
bannerUrl
:
"
バナー画像のURL"
backgroundImageUrl
:
"
背景画像のURL"
basicInfo
:
"
基本情報"
pinnedUsers
:
"
ピン留めユーザー"
pinnedUsersDescription
:
"
「みつける」ページなどにピン留めしたいユーザーを改行で区切って記述します。"
...
...
This diff is collapsed.
Click to expand it.
src/client/components/featured-photos.vue
+
1
−
3
View file @
a2b8097b
<
template
>
<div
class=
"xfbouadm"
v-if=
"meta"
:style=
"
{ backgroundImage: `url(${ meta.backgroundImageUrl })` }">
</div>
<div
class=
"xfbouadm"
v-if=
"meta"
:style=
"
{ backgroundImage: `url(${ meta.backgroundImageUrl })` }">
</div>
</
template
>
<
script
lang=
"ts"
>
...
...
This diff is collapsed.
Click to expand it.
src/client/pages/instance/settings.vue
+
8
−
0
View file @
a2b8097b
...
...
@@ -19,6 +19,11 @@
<span>
{{ $ts.bannerUrl }}
</span>
</FormInput>
<FormInput
v-model:value=
"backgroundImageUrl"
>
<
template
#prefix
><i
class=
"fas fa-link"
></i></
template
>
<span>
{{ $ts.backgroundImageUrl }}
</span>
</FormInput>
<FormInput
v-model:value=
"tosUrl"
>
<
template
#prefix
><i
class=
"fas fa-link"
></i></
template
>
<span>
{{ $ts.tosUrl }}
</span>
...
...
@@ -88,6 +93,7 @@ export default defineComponent({
maintainerEmail
:
null
,
iconUrl
:
null
,
bannerUrl
:
null
,
backgroundImageUrl
:
null
,
maxNoteTextLength
:
0
,
enableLocalTimeline
:
false
,
enableGlobalTimeline
:
false
,
...
...
@@ -106,6 +112,7 @@ export default defineComponent({
this
.
tosUrl
=
meta
.
tosUrl
;
this
.
iconUrl
=
meta
.
iconUrl
;
this
.
bannerUrl
=
meta
.
bannerUrl
;
this
.
backgroundImageUrl
=
meta
.
backgroundImageUrl
;
this
.
maintainerName
=
meta
.
maintainerName
;
this
.
maintainerEmail
=
meta
.
maintainerEmail
;
this
.
maxNoteTextLength
=
meta
.
maxNoteTextLength
;
...
...
@@ -120,6 +127,7 @@ export default defineComponent({
tosUrl
:
this
.
tosUrl
,
iconUrl
:
this
.
iconUrl
,
bannerUrl
:
this
.
bannerUrl
,
backgroundImageUrl
:
this
.
backgroundImageUrl
,
maintainerName
:
this
.
maintainerName
,
maintainerEmail
:
this
.
maintainerEmail
,
maxNoteTextLength
:
this
.
maxNoteTextLength
,
...
...
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