Chore: Update mailer to remove hardcoded twitter link (#1103)

This commit is contained in:
Pranav Raj S
2020-07-30 23:58:42 +05:30
committed by GitHub
parent 2b1d445003
commit a16d2c653d
6 changed files with 22 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
const {
APP_VERSION: appVersion,
CREATE_NEW_ACCOUNT_FROM_DASHBOARD: createNewAccountFromDashboard,
BRAND_NAME: brandName,
INSTALLATION_NAME: installationName,
LOGO_THUMBNAIL: logoThumbnail,
LOGO: logo,
@@ -12,6 +13,7 @@ const {
const state = {
appVersion,
createNewAccountFromDashboard,
brandName,
installationName,
logo,
logoThumbnail,

View File

@@ -1,18 +1,17 @@
<template>
<a
v-if="globalConfig.brandName"
class="branding"
:href="`${globalConfig.widgetBrandURL}?utm_source=widget_branding`"
rel="noreferrer noopener nofollow"
target="_blank"
>
<img
:alt="globalConfig.installationName"
:src="globalConfig.logoThumbnail"
/>
<img :alt="globalConfig.brandName" :src="globalConfig.logoThumbnail" />
<span>
{{ useInstallationName($t('POWERED_BY'), globalConfig.installationName) }}
{{ useInstallationName($t('POWERED_BY'), globalConfig.brandName) }}
</span>
</a>
<div v-else class="brand--alternative" />
</template>
<script>
@@ -58,4 +57,7 @@ export default {
max-height: $space-slab;
}
}
.brand--alternative {
padding: $space-slab;
}
</style>