Skip to content

Commit

Permalink
feat(web.hosting): hide contracts list when empty (#9760)
Browse files Browse the repository at this point in the history
ref: MANAGER-11980

Signed-off-by: Jacques Larique <[email protected]>
Co-authored-by: CDS Translator Agent <[email protected]>
  • Loading branch information
JacquesLarique and ovh-cds authored Aug 8, 2023
1 parent fa71543 commit cf7bc67
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1367,5 +1367,6 @@
"hosting_dashboard_service_change_offer_explanation_only_one": "Mit Ihrem aktuellen Angebot verfügen Sie über eine einzige Datenbank. Wählen Sie ein höheres Angebot, um zusätzliche Datenbanken nutzen zu können.",
"hosting_tab_DOMAINS_configuration_add_step1_only_one_db_and_no_left": "Mit Ihrem aktuellen Angebot können Sie nur eine Website erstellen. Wählen Sie ein höheres Angebot, um eine weitere Website einrichten zu können.",
"hosting_tab_DOMAINS_configuration_add_buttom_update_offer": "Angebot wechseln",
"hosting_order_upgrade_modal_header_description": "Ihr Projekt entwickelt sich weiter? Ob Blog, professionelle Website, E-Commerce-Plattform oder Webanwendung: Wählen Sie das Angebot, das Ihren neuen Anforderungen am besten entspricht."
"hosting_order_upgrade_modal_header_description": "Ihr Projekt entwickelt sich weiter? Ob Blog, professionelle Website, E-Commerce-Plattform oder Webanwendung: Wählen Sie das Angebot, das Ihren neuen Anforderungen am besten entspricht.",
"hosting_order_upgrade_no_contract": "Keine neuen Verträge zur Validierung vorhanden"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1367,5 +1367,6 @@
"hosting_dashboard_service_change_offer_explanation_only_one": "You only have one database with your current solution. To get additional databases, upgrade to one of our higher plans.",
"hosting_tab_DOMAINS_configuration_add_step1_only_one_db_and_no_left": "With your current plan, you can install only one website. To get an additional website, upgrade to one of our higher plans.",
"hosting_tab_DOMAINS_configuration_add_buttom_update_offer": "Change plan",
"hosting_order_upgrade_modal_header_description": "Is your project growing? From blogs and business websites to online shops and web applications, you can choose the best plan for your new needs."
"hosting_order_upgrade_modal_header_description": "Is your project growing? From blogs and business websites to online shops and web applications, you can choose the best plan for your new needs.",
"hosting_order_upgrade_no_contract": "No new contracts to validate"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1367,5 +1367,6 @@
"hosting_dashboard_service_change_offer_explanation_only_one": "Solo dispone de una base de datos con su solución actual. Para disfrutar de bases de datos adicionales, elija una de nuestras ofertas superiores.",
"hosting_tab_DOMAINS_configuration_add_step1_only_one_db_and_no_left": "Su solución actual solo le permite instalar un sitio web. Para disfrutar de un sitio web adicional, elija uno de nuestros planes de hosting superiores.",
"hosting_tab_DOMAINS_configuration_add_buttom_update_offer": "Cambiar de plan",
"hosting_order_upgrade_modal_header_description": "¿Su proyecto está cambiando? Blog, sitio web profesional, plataforma de e-commerce o aplicación web: elija el producto más adaptado a sus nuevas necesidades."
"hosting_order_upgrade_modal_header_description": "¿Su proyecto está cambiando? Blog, sitio web profesional, plataforma de e-commerce o aplicación web: elija el producto más adaptado a sus nuevas necesidades.",
"hosting_order_upgrade_no_contract": "No hay ningún contrato pendiente de validación."
}
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,7 @@
"hosting_order_upgrade_start_time_info": "Tout changement d’offre Cloud Web entraîne une coupure de service de 15 minutes au maximum après le début de l’opération. Nous vous conseillons donc d’opter pour une migration durant la nuit pour limiter les pertes de trafic.",
"hosting_order_upgrade_start_time_summary_today": "Mise à jour prévue à {{time}} aujourd'hui.",
"hosting_order_upgrade_start_time_summary_tomorrow": "Mise à jour prévue à {{time}} demain.",
"hosting_order_upgrade_no_contract": "Pas de nouveaux contrats à valider",
"hosting_migrate_my_ovh_org_success": "La migration de votre domaine ovh.org a bien été prise en compte. Vous recevrez un e-mail lorsqu'elle sera terminée.",
"hosting_migrate_my_ovh_org_error": "Une erreur est survenue lors de la migration de votre domaine ovh.org.",
"hosting_tab_DATABASES_configuration_order_title_button_public": "Commander une base de données",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,7 @@
"hosting_order_upgrade_start_time_info": "Tout changement d’offre Cloud Web entraîne une coupure de service de 15 minutes au maximum après le début de l’opération. Nous vous conseillons donc d’opter pour une migration durant la nuit pour limiter les pertes de trafic.",
"hosting_order_upgrade_start_time_summary_today": "Mise à jour prévue à {{time}} aujourd'hui.",
"hosting_order_upgrade_start_time_summary_tomorrow": "Mise à jour prévue à {{time}} demain.",
"hosting_order_upgrade_no_contract": "Pas de nouveaux contrats à valider",
"hosting_migrate_my_ovh_org_success": "La migration de votre domaine ovh.org a bien été prise en compte. Vous recevrez un e-mail lorsqu'elle sera terminée.",
"hosting_migrate_my_ovh_org_error": "Une erreur est survenue lors de la migration de votre domaine ovh.org.",
"hosting_tab_DATABASES_configuration_order_title_button_public": "Commander une base de données",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1367,5 +1367,6 @@
"hosting_dashboard_service_change_offer_explanation_only_one": "Con la soluzione attuale disponi di un solo database. Per usufruire di database aggiuntivi, scegli un piano superiore.",
"hosting_tab_DOMAINS_configuration_add_step1_only_one_db_and_no_left": "La soluzione attuale permette di installare un solo sito. Per usufruire di un sito aggiuntivo, scegli un piano superiore.",
"hosting_tab_DOMAINS_configuration_add_buttom_update_offer": "Modificare soluzione",
"hosting_order_upgrade_modal_header_description": "Il tuo progetto si evolve? Blog, sito professionale, piattaforma e-commerce o applicazione Web: scegli la soluzione più adatta alle tue nuove esigenze."
"hosting_order_upgrade_modal_header_description": "Il tuo progetto si evolve? Blog, sito professionale, piattaforma e-commerce o applicazione Web: scegli la soluzione più adatta alle tue nuove esigenze.",
"hosting_order_upgrade_no_contract": "Nessun nuovo contratto da convalidare"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1367,5 +1367,6 @@
"hosting_dashboard_service_change_offer_explanation_only_one": "Dysponujesz jedną bazą danych w ramach aktualnej oferty. Aby korzystać z dodatkowych baz danych, wybierz jedną z naszych usług.",
"hosting_tab_DOMAINS_configuration_add_step1_only_one_db_and_no_left": "Aktualna oferta pozwala na zainstalowanie jednej strony. Aby skorzystać z dodatkowej strony, wybierz jedną z wyższych ofert.",
"hosting_tab_DOMAINS_configuration_add_buttom_update_offer": "Zmień ofertę",
"hosting_order_upgrade_modal_header_description": "Twój projekt dynamicznie się rozwija? Blog, profesjonalna strona WWW, platforma e-commerce lub aplikacja internetowa: wybierz ofertę najlepiej dopasowaną do Twoich nowych potrzeb."
"hosting_order_upgrade_modal_header_description": "Twój projekt dynamicznie się rozwija? Blog, profesjonalna strona WWW, platforma e-commerce lub aplikacja internetowa: wybierz ofertę najlepiej dopasowaną do Twoich nowych potrzeb.",
"hosting_order_upgrade_no_contract": "Brak nowych regulaminów do zatwierdzenia"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1367,5 +1367,6 @@
"hosting_dashboard_service_change_offer_explanation_only_one": "Com a sua oferta atual, dispõe de uma única base de dados. Para beneficiar de bases de dados suplementares, escolha uma das nossas ofertas superiores.",
"hosting_tab_DOMAINS_configuration_add_step1_only_one_db_and_no_left": "A sua oferta atual permite-lhe instalar um único site. Para beneficiar de um site suplementar, escolha uma das nossas ofertas superiores.",
"hosting_tab_DOMAINS_configuration_add_buttom_update_offer": "Mudar de oferta",
"hosting_order_upgrade_modal_header_description": "O seu projeto precisa de evoluir? Blogue, site profissional, plataforma de e-commerce ou aplicação web: escolha a oferta mais adaptada às suas novas necessidades."
"hosting_order_upgrade_modal_header_description": "O seu projeto precisa de evoluir? Blogue, site profissional, plataforma de e-commerce ou aplicação web: escolha a oferta mais adaptada às suas novas necessidades.",
"hosting_order_upgrade_no_contract": "Não há novos contratos a validar"
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,19 @@

<oui-step-form
data-header="{{:: 'hosting_order_upgrade_step_header_contracts' | translate }}"
data-valid="$ctrl.model.agree"
data-valid="$ctrl.model.agree || !$ctrl.model.duration.contracts.length"
>
<ovh-contracts-summary
name="agreeContracts"
data-ng-if="$ctrl.model.duration.contracts.length"
data-items="$ctrl.model.duration.contracts"
data-model="$ctrl.model.agree"
>
</ovh-contracts-summary>
<span
data-ng-if="!$ctrl.model.duration.contracts.length"
data-translate="hosting_order_upgrade_no_contract"
></span>
</oui-step-form>

<oui-step-form
Expand Down

0 comments on commit cf7bc67

Please sign in to comment.