Clean up html and move text into translations
This commit is contained in:
@@ -104,8 +104,8 @@
|
|||||||
{% set new_member_modal_name = "add-app-mem" %}
|
{% set new_member_modal_name = "add-app-mem" %}
|
||||||
{% if user_can(permissions.CREATE_APPLICATION_MEMBER) %}
|
{% if user_can(permissions.CREATE_APPLICATION_MEMBER) %}
|
||||||
<a class="icon-link modal-link" v-on:click="openModal('{{ new_member_modal_name }}')">
|
<a class="icon-link modal-link" v-on:click="openModal('{{ new_member_modal_name }}')">
|
||||||
{{ "portfolios.admin.add_new_member" | translate }}
|
|
||||||
{{ Icon("plus") }}
|
{{ Icon("plus") }}
|
||||||
|
{{ "portfolios.applications.add_member" | translate }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@@ -158,21 +158,18 @@
|
|||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<div class='subheading'>
|
<div class='subheading'>
|
||||||
Environments
|
{{ 'common.resource_names.environments' | translate }}
|
||||||
|
|
||||||
{% if user_can(permissions.CREATE_ENVIRONMENT) %}
|
{% if user_can(permissions.CREATE_ENVIRONMENT) %}
|
||||||
{% include "fragments/applications/add_new_environment.html" %}
|
{% include "fragments/applications/add_new_environment.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% if g.matchesPath("application-environments") %}
|
|
||||||
{% include "fragments/flash.html" %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
|
{% if g.matchesPath("application-environments") %}
|
||||||
|
{% include "fragments/flash.html" %}
|
||||||
|
{% endif %}
|
||||||
<div class="panel__content">
|
<div class="panel__content">
|
||||||
<div class="accordion-table accordion-table-list">
|
<div class="accordion-table accordion-table-list">
|
||||||
<ul class="accordion-table__items">
|
<ul class="accordion-table__items">
|
||||||
@@ -200,28 +197,20 @@
|
|||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
<span class="accordion-table__item__toggler icon-link">
|
<span class="accordion-table__item__toggler icon-link">
|
||||||
{% set open_members_button %}
|
{% set members_button = "portfolios.applications.member_count" | translate({'count': env['member_count']}) %}
|
||||||
{{ env['member_count'] }} members
|
|
||||||
{% endset %}
|
|
||||||
|
|
||||||
{% set close_members_button %}
|
|
||||||
{{ env['member_count'] }} members
|
|
||||||
{% endset %}
|
|
||||||
|
|
||||||
{{
|
{{
|
||||||
ToggleButton(
|
ToggleButton(
|
||||||
open_html=open_members_button,
|
open_html=members_button,
|
||||||
close_html=close_members_button,
|
close_html=members_button,
|
||||||
section_name="members"
|
section_name="members"
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-col form-col--third">
|
<div class="form-col form-col--third">
|
||||||
<a href='{{ url_for("applications.access_environment", environment_id=env.id)}}' target='_blank' rel='noopener noreferrer' class='application-list-item__environment__csp_link icon-link'>
|
<a href='{{ url_for("applications.access_environment", environment_id=env.id)}}' target='_blank' rel='noopener noreferrer' class='application-list-item__environment__csp_link icon-link'>
|
||||||
<span>Cloud Service Provider Link {{ Icon('link', classes="icon--tiny") }}</span>
|
<span>{{ "portfolios.applications.csp_link" | translate }} {{ Icon('link', classes="icon--tiny") }}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -281,13 +281,15 @@ portfolios:
|
|||||||
portfolio_name: Portfolio name
|
portfolio_name: Portfolio name
|
||||||
applications:
|
applications:
|
||||||
add_application_text: Add a new application
|
add_application_text: Add a new application
|
||||||
add_environment: Add new environment
|
add_environment: Create an Environment
|
||||||
|
add_member: Add a New Team Member
|
||||||
add_another_environment: Add another environment
|
add_another_environment: Add another environment
|
||||||
app_settings_text: App settings
|
app_settings_text: App settings
|
||||||
create_button_text: Create
|
create_button_text: Create
|
||||||
create_new_env: Create a new environment.
|
create_new_env: Create a new environment.
|
||||||
create_new_env_info: Creating an environment gives you access to the Cloud Service Provider. This environment will function within the constraints of the task order, and any costs will be billed against the portfolio.
|
create_new_env_info: Creating an environment gives you access to the Cloud Service Provider. This environment will function within the constraints of the task order, and any costs will be billed against the portfolio.
|
||||||
csp_console_text: CSP console
|
csp_console_text: CSP console
|
||||||
|
csp_link: Cloud Service Provider Link
|
||||||
remove_member:
|
remove_member:
|
||||||
alert:
|
alert:
|
||||||
message: '{user_name} will no longer be able to access this application or any of its environments'
|
message: '{user_name} will no longer be able to access this application or any of its environments'
|
||||||
@@ -298,7 +300,7 @@ portfolios:
|
|||||||
message: You will lose access to this application and all environments will be removed from the CSP. Your reporting and activity will still be accessible.
|
message: You will lose access to this application and all environments will be removed from the CSP. Your reporting and activity will still be accessible.
|
||||||
button: Delete application
|
button: Delete application
|
||||||
header: Are you sure you want to delete this application?
|
header: Are you sure you want to delete this application?
|
||||||
panel_text: 'Deleting {name} will delete this applicaiton along with all {env_count} {pluralized_env}. <strong>This cannot be undone.</strong>'
|
panel_text: 'Deleting {name} will delete this application along with all {env_count} {pluralized_env}. <strong>This cannot be undone.</strong>'
|
||||||
subheading: Delete Application
|
subheading: Delete Application
|
||||||
enter_env_name: "Enter environment name:"
|
enter_env_name: "Enter environment name:"
|
||||||
environments:
|
environments:
|
||||||
@@ -309,6 +311,7 @@ portfolios:
|
|||||||
environments_description: Each environment created within an application is logically separated from one another for easier management and security.
|
environments_description: Each environment created within an application is logically separated from one another for easier management and security.
|
||||||
environments_heading: Application environments
|
environments_heading: Application environments
|
||||||
existing_application_title: '{application_name} Application Settings'
|
existing_application_title: '{application_name} Application Settings'
|
||||||
|
member_count: '{count} members'
|
||||||
new_application_title: New Application
|
new_application_title: New Application
|
||||||
settings_heading: Application Settings
|
settings_heading: Application Settings
|
||||||
settings:
|
settings:
|
||||||
|
Reference in New Issue
Block a user