* Fix a la carte 1 * use dialog instead of alert() etc
This commit is contained in:
parent
ba3879a95a
commit
f966d0b32c
21 changed files with 79 additions and 29 deletions
|
|
@ -32,7 +32,7 @@ export default Vue.extend({
|
|||
this.fetch();
|
||||
},
|
||||
mounted() {
|
||||
document.title = `${this.$root.instanceName} | %i18n:@notifications%`;
|
||||
document.title = `${this.$root.instanceName} | ${this.$t('@.favorites')}`;
|
||||
},
|
||||
methods: {
|
||||
fetch() {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ export default Vue.extend({
|
|||
XReversi: () => import('../../../../common/views/components/games/reversi/reversi.vue').then(m => m.default)
|
||||
},
|
||||
mounted() {
|
||||
document.title = `${this.$root.instanceName} %i18n:@reversi%`;
|
||||
document.title = `${this.$root.instanceName} | ${this.$t('reversi')}`;
|
||||
},
|
||||
methods: {
|
||||
nav(game, actualNav) {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ export default Vue.extend({
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
document.title = `%i18n:@search%: ${this.q} | ${this.$root.instanceName}`;
|
||||
document.title = `${this.$t('search')}: ${this.q} | ${this.$root.instanceName}`;
|
||||
},
|
||||
methods: {
|
||||
inited() {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
</header>
|
||||
<x-draggable
|
||||
:list="widgets"
|
||||
:options="{ handle: '.handle', animation: 150 }"
|
||||
handle=".handle"
|
||||
animation="150"
|
||||
@sort="onWidgetSort"
|
||||
>
|
||||
<div v-for="widget in widgets" class="customize-container" :key="widget.id">
|
||||
|
|
@ -106,7 +107,10 @@ export default Vue.extend({
|
|||
|
||||
methods: {
|
||||
hint() {
|
||||
alert(this.$t('widgets-hints'));
|
||||
this.$root.dialog({
|
||||
type: 'info',
|
||||
text: this.$t('widgets-hints')
|
||||
});
|
||||
},
|
||||
|
||||
widgetFunc(id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue