add message for forbidden dynDNS and fix diagnosis cards paddings

This commit is contained in:
axolotle 2021-01-19 18:32:19 +01:00
parent 88c8292cce
commit 8c1772e7c6
3 changed files with 4 additions and 1 deletions

View file

@ -43,6 +43,7 @@
</template> </template>
</form-field> </form-field>
</b-collapse> </b-collapse>
<div v-if="dynDnsForbiden" class="alert alert-warning mt-2" v-html="$t('domain_add_dyndns_forbidden')" />
</card-form> </card-form>
</template> </template>

View file

@ -119,6 +119,7 @@
"domain_add": "Add domain", "domain_add": "Add domain",
"domain_add_dns_doc": "… and I have <a href='//yunohost.org/dns'>set my DNS correctly</a>.", "domain_add_dns_doc": "… and I have <a href='//yunohost.org/dns'>set my DNS correctly</a>.",
"domain_add_dyndns_doc": "… and I want a dynamic DNS service.", "domain_add_dyndns_doc": "… and I want a dynamic DNS service.",
"domain_add_dyndns_forbidden": "You have already subscribed to a DynDNS domain, you can ask to remove your current DynDNS domain on the forum <a href='//forum.yunohost.org/t/nohost-domain-recovery-suppression-de-domaine-en-nohost-me-noho-st-et-ynh-fr/442'>in the dedicated thread</a>.",
"domain_add_panel_with_domain": "I already have a domain name…", "domain_add_panel_with_domain": "I already have a domain name…",
"domain_add_panel_without_domain": "I don't have a domain name…", "domain_add_panel_without_domain": "I don't have a domain name…",
"domain_default_desc": "The default domain is the connection domain where users log in.", "domain_default_desc": "The default domain is the connection domain where users log in.",

View file

@ -26,7 +26,8 @@
<!-- REPORT CARD --> <!-- REPORT CARD -->
<card <card
v-for="report in reports" :key="report.id" v-for="report in reports" :key="report.id"
collapsable :collapsed="report.noIssues" button-unbreak="lg" collapsable :collapsed="report.noIssues"
no-body button-unbreak="lg"
> >
<!-- REPORT HEADER --> <!-- REPORT HEADER -->
<template #header> <template #header>