rename Project to Application in user-facing contexts

This commit is contained in:
dandds
2019-01-10 15:45:12 -05:00
parent 142395f1e9
commit 9ad3c45200
10 changed files with 28 additions and 28 deletions

View File

@@ -10,9 +10,9 @@
<div class="block-list project-list-item">
<header class="block-list__header block-list__header--grow">
<h2 class="block-list__title">Project Environments</h2>
<h2 class="block-list__title">Application Environments</h2>
<p>
Each environment created within a project is an enclave of cloud resources that is logically separated from each other for increased security.
Each environment created within an application is an enclave of cloud resources that is logically separated from each other for increased security.
</p>
</header>
@@ -29,7 +29,7 @@
</div>
<div class="action-group">
<button class="usa-button usa-button-primary" tabindex="0" type="submit">Update Project</button>
<button class="usa-button usa-button-primary" tabindex="0" type="submit">Update Application</button>
</div>
</form>

View File

@@ -11,8 +11,8 @@
{% set can_create_projects = user_can(permissions.ADD_APPLICATION_IN_WORKSPACE) %}
{{ EmptyState(
'This portfolio doesnt have any projects yet.',
action_label='Add a New Project' if can_create_projects else None,
'This portfolio doesnt have any applications yet.',
action_label='Add a New Application' if can_create_projects else None,
action_href=url_for('workspaces.new_project', workspace_id=workspace.id) if can_create_projects else None,
icon='cloud',
sub_message=None if can_create_projects else 'Please contact your JEDI Cloud portfolio administrator to set up a new project.'

View File

@@ -14,10 +14,10 @@
<form method="POST" action="{{ url_for('workspaces.create_project', workspace_id=workspace.id) }}" v-on:submit="handleSubmit">
{% call Modal(name=modalName, dismissable=False) %}
<h1>Create project !{ name }</h1>
<h1>Create application !{ name }</h1>
<p>
When you click <em>Create Project</em>, the environments
When you click <em>Create Application</em>, the environments
<span v-for="(environment, index) in environments">
<strong>!{environment.name}</strong><template v-if="index < (environments.length - 1)">, </template>
</span>
@@ -25,7 +25,7 @@
</p>
<div class='action-group'>
<button autofocus type='submit' class='action-group__action usa-button' tabindex='0'>Create Project</button>
<button autofocus type='submit' class='action-group__action usa-button' tabindex='0'>Create Application</button>
<button type='button' v-on:click="handleCancelSubmit" class='icon-link action-group__action' tabindex='0'>Cancel</button>
</div>
{% endcall %}
@@ -40,9 +40,9 @@
<div class="block-list project-list-item">
<header class="block-list__header block-list__header--grow">
<h2 class="block-list__title">Project Environments</h2>
<h2 class="block-list__title">Application Environments</h2>
<p>
Each environment created within a project is an enclave of cloud resources that is logically separated from each other for increased security.
Each environment created within an application is an enclave of cloud resources that is logically separated from each other for increased security.
</p>
</header>
@@ -66,7 +66,7 @@
</div>
<div class="action-group">
<button class="usa-button usa-button-primary" tabindex="0" type="submit">Create Project</button>
<button class="usa-button usa-button-primary" tabindex="0" type="submit">Create Application</button>
</div>
</form>
</new-project>