Skip to content

Commit

Permalink
Update subscription links in translation.json and SettingsSubscriptio…
Browse files Browse the repository at this point in the history
…n.vue
  • Loading branch information
stephdl committed Jan 24, 2024
1 parent e8aaea6 commit aff98dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
"settings_subscription": {
"title": "Subscription",
"cluster_subscription": "Cluster subscription",
"cluster_subscription_description": "Log in to <a href='https://{enterprise}' target='_blank'>my.nethesis.it</a> or <a href='https://{subscription}' target='_blank'>my.nethserver.com</a> to manage the subscription:",
"cluster_subscription_description": "Log in to {enterprise} or {subscription} to manage the subscription:",
"subscription_status": "Subscription status",
"authentication_token": "Authentication token",
"authentication_token_helper": "Obtain a registration token from the subscription web portal",
Expand Down
13 changes: 12 additions & 1 deletion core/ui/src/views/settings/SettingsSubscription.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,16 @@
{{ $t("settings_subscription.cluster_subscription") }}
</h4>
<div class="title-description mg-bottom-md">
<span v-html="$t('settings_subscription.cluster_subscription_description', {enterprise:'my.nethesis.it',subscription:'my.nethserver.com'})"></span>
<span
v-html="
$t('settings_subscription.cluster_subscription_description', {
enterprise:
enterprise_link,
subscription:
subscription_link,
})
"
></span>
</div>
<cv-form @submit.prevent="setSubscription">
<cv-skeleton-text
Expand Down Expand Up @@ -310,6 +319,8 @@ export default {
isShownRemoveSubcription: false,
Play20,
Stop20,
enterprise_link:"<a href='https://my.nethesis.it' target=_blank'>my.nethesis.it</a>",
subscription_link:"<a href='https://my.nethserver.com' target=_blank'>my.nethserver.com</a>",
subscription: {
auth_token: "",
system_id: "",
Expand Down

0 comments on commit aff98dd

Please sign in to comment.