Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
abfba4b4
Commit
abfba4b4
authored
Jun 21, 2019
by
Nick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: match page current locale for UI
parent
1dfb55e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
admin-users.vue
client/components/admin/admin-users.vue
+2
-2
nav-header.vue
client/components/common/nav-header.vue
+1
-1
page.vue
client/themes/default/components/page.vue
+6
-0
No files found.
client/components/admin/admin-users.vue
View file @
abfba4b4
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
img.animated.fadeInUp(src='/svg/icon-customer.svg', alt='Users', style='width: 80px;')
img.animated.fadeInUp(src='/svg/icon-customer.svg', alt='Users', style='width: 80px;')
.admin-header-title
.admin-header-title
.headline.blue--text.text--darken-2.animated.fadeInLeft Users
.headline.blue--text.text--darken-2.animated.fadeInLeft Users
.subheading.grey--text.animated.fadeInLeft.wait-p2s Manage users
.subheading.grey--text.animated.fadeInLeft.wait-p2s Manage users
#[v-chip(label, color='primary', small).white--text coming soon]
v-spacer
v-spacer
v-btn.animated.fadeInDown.wait-p2s(outline, color='grey', large, @click='refresh')
v-btn.animated.fadeInDown.wait-p2s(outline, color='grey', large, @click='refresh')
v-icon refresh
v-icon refresh
v-btn.animated.fadeInDown(color='primary', large, depressed, @click='createUser')
v-btn.animated.fadeInDown(color='primary', large, depressed, @click='createUser'
, disabled
)
v-icon(left) add
v-icon(left) add
span New User
span New User
v-card.wiki-form.mt-3.animated.fadeInUp
v-card.wiki-form.mt-3.animated.fadeInUp
...
...
client/components/common/nav-header.vue
View file @
abfba4b4
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
v-tooltip(bottom, slot='activator')
v-tooltip(bottom, slot='activator')
v-btn(icon, slot='activator')
v-btn(icon, slot='activator')
v-icon(color='grey') language
v-icon(color='grey') language
span
Language
span
{{
$t
(
'common:header.language'
)
}}
v-list.py-0
v-list.py-0
template(v-for='(lc, idx) of locales')
template(v-for='(lc, idx) of locales')
v-list-tile(@click='changeLocale(lc)')
v-list-tile(@click='changeLocale(lc)')
...
...
client/themes/default/components/page.vue
View file @
abfba4b4
...
@@ -141,6 +141,8 @@ import Prism from '@/libs/prism/prism.js'
...
@@ -141,6 +141,8 @@ import Prism from '@/libs/prism/prism.js'
import
{
get
}
from
'vuex-pathify'
import
{
get
}
from
'vuex-pathify'
import
_
from
'lodash'
import
_
from
'lodash'
/* global siteLangs */
export
default
{
export
default
{
components
:
{
components
:
{
StatusIndicator
StatusIndicator
...
@@ -259,6 +261,10 @@ export default {
...
@@ -259,6 +261,10 @@ export default {
this
.
$store
.
commit
(
'page/SET_UPDATED_AT'
,
this
.
updatedAt
)
this
.
$store
.
commit
(
'page/SET_UPDATED_AT'
,
this
.
updatedAt
)
this
.
$store
.
commit
(
'page/SET_MODE'
,
'view'
)
this
.
$store
.
commit
(
'page/SET_MODE'
,
'view'
)
if
(
siteLangs
.
length
>
0
)
{
this
.
$i18n
.
i18next
.
changeLanguage
(
this
.
locale
)
}
},
},
mounted
()
{
mounted
()
{
Prism
.
highlightAllUnder
(
this
.
$refs
.
container
)
Prism
.
highlightAllUnder
(
this
.
$refs
.
container
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment