mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 08:59:18 +02:00
29 lines
884 B
Vue
29 lines
884 B
Vue
<template>
|
|
<main class="main pusher" v-title="labels.title">
|
|
<section class="ui vertical stripe segment">
|
|
<div class="ui small text container">
|
|
<h2>
|
|
<translate :translate-context="'Content/Login/Title'">Are you sure you want to log out?</translate>
|
|
</h2>
|
|
<p v-translate="{username: $store.state.auth.username}">You are currently logged in as %{ username }</p>
|
|
<button class="ui button" @click="$store.dispatch('auth/logout')"><translate :translate-context="'Content/Login/Button.Label'">Yes, log me out!</translate></button>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
computed: {
|
|
labels() {
|
|
return {
|
|
title: this.$pgettext('Head/Login/Title', "Log Out")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<style scoped>
|
|
</style>
|