mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
config: allow admins to configure global footer html
Fixes #452 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
1a3e659958
commit
d6f6487813
1
ui/public/config.json
vendored
1
ui/public/config.json
vendored
@ -2,6 +2,7 @@
|
||||
"apiBase": "/client/api",
|
||||
"docBase": "http://docs.cloudstack.apache.org/en/latest",
|
||||
"appTitle": "CloudStack",
|
||||
"footer": "Licensed under the <a href='http://www.apache.org/licenses/' target='_blank'>Apache License</a>, Version 2.0.",
|
||||
"logo": "assets/logo.svg",
|
||||
"banner": "assets/banner.svg",
|
||||
"error": {
|
||||
|
||||
@ -17,7 +17,10 @@
|
||||
|
||||
<template>
|
||||
<div class="footer">
|
||||
<div class="links">
|
||||
<div class="line">
|
||||
<span v-html="$config.footer" />
|
||||
</div>
|
||||
<div class="line" v-if="$store.getters.userInfo.roletype === 'Admin'">
|
||||
CloudStack {{ $store.getters.features.cloudstackversion }}
|
||||
<a-divider type="vertical" />
|
||||
Primate {{ $store.getters.version }}
|
||||
@ -46,7 +49,7 @@ export default {
|
||||
margin: 48px 0 24px;
|
||||
text-align: center;
|
||||
|
||||
.links {
|
||||
.line {
|
||||
margin-bottom: 8px;
|
||||
|
||||
a {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user