summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-05-06 19:34:08 +0300
committerDerick Montague <derick.montague@ibm.com>2020-05-12 21:05:31 +0300
commit34354313bb876bc2405bc661af312e0254bdaea2 (patch)
treec97b2357c642e239e207b5024aed9cdf94a1e542
parent346be2a4245845eaea03035ce85d6e06ec3c1ade (diff)
downloadwebui-vue-34354313bb876bc2405bc661af312e0254bdaea2.tar.xz
Add translation to Unauthorized page
- Swapped container <div> for boostrap container Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie3f8539fc4b1e3496d77277319f77a9b51574885
-rw-r--r--src/locales/en-US.json3
-rw-r--r--src/views/Unauthorized/Unauthorized.vue16
2 files changed, 7 insertions, 12 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 8da54fd1..2db669b8 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -353,6 +353,9 @@
"successReplaceCertificate": "Successfully replaced %{certificate}."
}
},
+ "pageUnauthorized": {
+ "description": "The attempted action is not accessible from the logged in account. Contact your system administrator to check your privilege role."
+ },
"countries": {
"AF":"Afghanistan",
"AL":"Albania",
diff --git a/src/views/Unauthorized/Unauthorized.vue b/src/views/Unauthorized/Unauthorized.vue
index d4203598..ee34f26c 100644
--- a/src/views/Unauthorized/Unauthorized.vue
+++ b/src/views/Unauthorized/Unauthorized.vue
@@ -1,20 +1,12 @@
<template>
- <div>
- <page-title :description="description" />
- </div>
+ <b-container fluid="xl">
+ <page-title :description="$t('pageUnauthorized.description')" />
+ </b-container>
</template>
<script>
import PageTitle from '../../components/Global/PageTitle';
export default {
name: 'Unauthorized',
- components: {
- PageTitle
- },
- data() {
- return {
- description:
- 'The attempted action is not accessible from the logged in account. Contact your system administrator to check your privilege role.'
- };
- }
+ components: { PageTitle }
};
</script>