Use common translations for table headings, remove unnecessary class

This commit is contained in:
leigh-mil 2019-08-09 10:47:25 -04:00
parent fa83dfe6bd
commit 14327e9a8b
2 changed files with 7 additions and 8 deletions

View File

@ -13,9 +13,9 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>{{ "ccpo.name_heading" | translate }}</th> <th>{{ "common.name" | translate }}</th>
<th>{{ "ccpo.email_heading" | translate }}</th> <th>{{ "common.email" | translate }}</th>
<th>{{ "ccpo.dod_id_heading" | translate }}</th> <th>{{ "common.dod_id" | translate }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -31,7 +31,7 @@
</div> </div>
{% if user_can(permissions.CREATE_CCPO_USER) %} {% if user_can(permissions.CREATE_CCPO_USER) %}
<a class="icon-link modal-link" href="{{ url_for('ccpo.add_new_user')}}"> <a class="icon-link" href="{{ url_for('ccpo.add_new_user')}}">
{{ "ccpo.add_user" | translate }} {{ Icon("plus") }} {{ "ccpo.add_user" | translate }} {{ Icon("plus") }}
</a> </a>
{% endif %} {% endif %}

View File

@ -28,9 +28,6 @@ home:
admin_descrip: aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat admin_descrip: aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
ccpo: ccpo:
users_title: CCPO Users users_title: CCPO Users
name_heading: Name
email_heading: Email
dod_id_heading: DoD ID
add_user: Add new CCPO user add_user: Add new CCPO user
form: form:
add_user_title: Add new CCPO user add_user_title: Add new CCPO user
@ -48,8 +45,11 @@ common:
delete: Delete delete: Delete
deactivate: Deactivate deactivate: Deactivate
delete_confirm: 'Please type the word {word} to confirm:' delete_confirm: 'Please type the word {word} to confirm:'
dod_id: DoD ID
edit: Edit edit: Edit
email: Email
members: Members members: Members
name: Name
next: Next next: Next
'yes': 'Yes' 'yes': 'Yes'
'no': 'No' 'no': 'No'
@ -60,7 +60,6 @@ common:
resource_names: resource_names:
environments: Environments environments: Environments
choose_role: Choose a role choose_role: Choose a role
name: Name
components: components:
date_selector: date_selector:
day: Day day: Day