Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale_OLD
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
jovuit
funkwhale_OLD
Commits
30181274
Verified
Commit
30181274
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Restructured the footer, added useful links and removed unused content
parent
f1cca29a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/changelog.d/footer.enhancement
+1
-0
1 addition, 0 deletions
changes/changelog.d/footer.enhancement
front/src/components/Footer.vue
+97
-0
97 additions, 0 deletions
front/src/components/Footer.vue
with
98 additions
and
0 deletions
changes/changelog.d/footer.enhancement
0 → 100644
+
1
−
0
View file @
30181274
Restructured the footer, added useful links and removed unused content
This diff is collapsed.
Click to expand it.
front/src/components/Footer.vue
0 → 100644
+
97
−
0
View file @
30181274
<
template
>
<footer
id=
"footer"
class=
"ui vertical footer segment"
>
<div
class=
"ui container"
>
<div
class=
"ui stackable equal height stackable grid"
>
<div
class=
"four wide column"
>
<h4
v-translate
class=
"ui header"
>
<translate
:translate-params=
"
{instanceName: instanceHostname}" >About %{instanceName}
</translate>
</h4>
<div
class=
"ui link list"
>
<router-link
class=
"item"
to=
"/about"
>
<translate>
About page
</translate>
</router-link>
<div
class=
"item"
v-if=
"version"
>
<translate
:translate-params=
"
{version: version}" >Version %{version}
</translate>
</div>
<a
@
click=
"switchInstance"
class=
"item"
>
<translate>
Use another instance
</translate>
</a>
</div>
<div
class=
"ui form"
>
<div
class=
"ui field"
>
<label><translate>
Change language
</translate></label>
<select
class=
"ui dropdown"
v-model=
"$language.current"
>
<option
v-for=
"(language, key) in $language.available"
:key=
"key"
:value=
"key"
>
{{
language
}}
</option>
</select>
</div>
</div>
</div>
<div
class=
"four wide column"
>
<h4
v-translate
class=
"ui header"
>
Using Funkwhale
</h4>
<div
class=
"ui link list"
>
<a
href=
"https://docs.funkwhale.audio"
class=
"item"
target=
"_blank"
><translate>
Documentation
</translate></a>
<a
href=
"https://docs.funkwhale.audio/users/apps.html"
class=
"item"
target=
"_blank"
><translate>
Mobile and desktop apps
</translate></a>
<div
role=
"button"
class=
"item"
@
click=
"$emit('show:shortcuts-modal')"
><translate>
Keyboard shortcuts
</translate></div>
</div>
</div>
<div
class=
"four wide column"
>
<h4
v-translate
class=
"ui header"
>
Getting help
</h4>
<div
class=
"ui link list"
>
<a
href=
"https://socialhub.network/c/projects/funkwhale"
class=
"item"
target=
"_blank"
><translate>
Support forum
</translate></a>
<a
href=
"https://riot.im/app/#/room/#funkwhale-troubleshooting:matrix.org"
class=
"item"
target=
"_blank"
><translate>
Chat room
</translate></a>
<a
href=
"https://code.eliotberriot.com/funkwhale/funkwhale/issues"
class=
"item"
target=
"_blank"
><translate>
Issue tracker
</translate></a>
</div>
</div>
<div
class=
"four wide column"
>
<h4
v-translate
class=
"ui header"
>
About Funkwhale
</h4>
<div
class=
"ui link list"
>
<a
href=
"https://funkwhale.audio"
class=
"item"
target=
"_blank"
><translate>
Official website
</translate></a>
<a
href=
"https://contribute.funkwhale.audio"
class=
"item"
target=
"_blank"
><translate>
Contribute
</translate></a>
<a
href=
"https://code.eliotberriot.com/funkwhale/funkwhale"
class=
"item"
target=
"_blank"
><translate>
Source code
</translate></a>
</div>
<div
class=
"ui hidden divider"
></div>
<p>
<translate>
The funkwhale logo was kindly designed and provided by Francis Gading.
</translate>
</p>
</div>
</div>
</div>
</footer>
</
template
>
<
script
>
import
{
mapState
}
from
'
vuex
'
export
default
{
props
:
[
'
version
'
],
methods
:
{
switchInstance
()
{
let
confirm
=
window
.
confirm
(
this
.
$gettext
(
'
This will erase your local data and disconnect you, do you want to continue?
'
))
if
(
confirm
)
{
this
.
$store
.
commit
(
'
instance/instanceUrl
'
,
null
)
}
},
},
computed
:
{
...
mapState
({
messages
:
state
=>
state
.
ui
.
messages
}),
instanceHostname
()
{
let
url
=
this
.
$store
.
state
.
instance
.
instanceUrl
let
parser
=
document
.
createElement
(
'
a
'
);
parser
.
href
=
url
return
parser
.
hostname
},
suggestedInstances
()
{
let
instances
=
[
this
.
$store
.
getters
[
'
instance/defaultUrl
'
](),
'
https://demo.funkwhale.audio
'
]
return
instances
},
}
}
</
script
>
<
style
scoped
>
footer
p
{
color
:
grey
;
}
</
style
>
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