1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 12:01:57 +08:00

fix document (#849)

* fix document

* minimal changes

* support to gitter chat

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-05-14 17:45:17 -04:00 committed by GitHub
parent c3678bd5e1
commit 8da6ff7f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 11 deletions

View File

@ -51,7 +51,7 @@ var EcosystemNav = [
{ {
text: 'Gitter', text: 'Gitter',
textZH: 'Gitter讨论组', textZH: 'Gitter讨论组',
link: 'https://gitter.im/adempiere-vue/discuss' link: 'https://gitter.im/adempiere/adempiere-vue'
}, },
{ {
textZH: '作者Blog', textZH: '作者Blog',

View File

@ -20,8 +20,10 @@
</div> </div>
<Content custom/> <Content custom/>
<div class="footer" v-if="data.footer">
<div class="footer" v-if="data.footer">{{ data.footer }}</div> <p>ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution</p>
<p>Copyright (C) 2017-Present ADempiere</p>
</div>
</div> </div>
</template> </template>
@ -130,7 +132,7 @@ export default {
} }
.footer { .footer {
padding: 2.5rem; padding: 1.5rem;
border-top: 1px solid $borderColor; border-top: 1px solid $borderColor;
text-align: center; text-align: center;
color: lighten($textColor, 25%); color: lighten($textColor, 25%);

View File

@ -35,13 +35,13 @@ export function loadCarbon() {
} }
export function loadGitter() { export function loadGitter() {
const id = 'adempiere-vue/discuss' const id = 'adempiere/adempiere-vue'
const existingScript = document.getElementById(id) const existingScript = document.getElementById(id)
if (existingScript) return if (existingScript) return
const script = document.createElement('script') const script = document.createElement('script')
script.id = id script.id = id
script.text = script.text =
"((window.gitter = {}).chat = {}).options = {room: 'adempiere-vue/discuss'};" "((window.gitter = {}).chat = {}).options = {room: 'adempiere/adempiere-vue'};"
document.body.appendChild(script) document.body.appendChild(script)
dynamicLoadScript('https://sidecar.gitter.im/dist/sidecar.v1.js') dynamicLoadScript('https://sidecar.gitter.im/dist/sidecar.v1.js')
} }

View File

@ -6,4 +6,5 @@ sidebar: false
If you find this project useful, you can help to maintain this project :tropical_drink: If you find this project useful, you can help to maintain this project :tropical_drink:
::: :::
[PayPal](https://paypal.me/ElsioSanchez)
[PayPal](https://www.paypal.me/YamelSenih) [PayPal](https://www.paypal.me/YamelSenih)

View File

@ -6,4 +6,5 @@ sidebar: false
Si encuentras útil este proyecto, puedes ayudar a manter el proyecto :tropical_drink: Si encuentras útil este proyecto, puedes ayudar a manter el proyecto :tropical_drink:
::: :::
[PayPal](https://paypal.me/ElsioSanchez)
[PayPal](https://www.paypal.me/YamelSenih) [PayPal](https://www.paypal.me/YamelSenih)

View File

@ -1,11 +1,11 @@
# Gitter # Gitter
[Gitter](https://gitter.im/adempiere-vue/discuss) [Gitter](https://gitter.im/adempiere/adempiere-vue)
<script> <script>
export default { export default {
mounted () { mounted () {
window.open('https://gitter.im/adempiere-vue/discuss') window.open('https://gitter.im/adempiere/adempiere-vue')
} }
} }
</script> </script>

View File

@ -1,11 +1,11 @@
# Gitter # Gitter
[Gitter](https://gitter.im/adempiere-vue/discuss) [Gitter](https://gitter.im/adempiere/adempiere-vue)
<script> <script>
export default { export default {
mounted () { mounted () {
window.open('https://gitter.im/adempiere-vue/discuss') window.open('https://gitter.im/adempiere/adempiere-vue')
} }
} }
</script> </script>

View File

@ -6,4 +6,5 @@ sidebar: false
如果你觉得这个项目帮助到了你,你可以帮作者买一杯果汁表示鼓励 :tropical_drink: 如果你觉得这个项目帮助到了你,你可以帮作者买一杯果汁表示鼓励 :tropical_drink:
::: :::
[PayPal](https://paypal.me/ElsioSanchez)
[PayPal](https://www.paypal.me/YamelSenih) [PayPal](https://www.paypal.me/YamelSenih)

View File

@ -1,3 +1,3 @@
# Gitter 讨论组 # Gitter 讨论组
[在线 Gitter 讨论组](https://gitter.im/adempiere-vue/discuss) [在线 Gitter 讨论组](https://gitter.im/adempiere/adempiere-vue)