Address PR review

This commit is contained in:
Marliana Lara
2018-11-02 12:43:22 -04:00
parent d068481aec
commit edda4bb265
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<div class="List-infoCell" ng-if="job_template.type === 'job_template'"> <div class="List-infoCell" ng-if="template.type === 'job_template'">
<span class="Key-icon Key-icon--circle Key-icon--default" aw-pop-over="<dl><dt>{{ 'INVENTORY' | translate }}</dt><dd>{{(job_template.summary_fields.inventory.name | sanitize) || ('NONE SELECTED' | translate)}}</dd></dl><dl><dt>{{ 'PROJECT' | translate }}</dt><dd>{{job_template.summary_fields.project.name | sanitize}}</dd></dl><dl><dt>{{ 'PLAYBOOK' | translate }}</dt><dd>{{job_template.playbook| sanitize}}</dd></dl><dl><dt>{{ 'CREDENTIAL' | translate }}</dt> <dd>{{(job_template.summary_fields.credential.name | sanitize) || ('NONE SELECTED' | translate)}}</dd></dl>" <span class="Key-icon Key-icon--circle Key-icon--default" aw-pop-over="<dl><dt>{{ 'INVENTORY' | translate }}</dt><dd>{{(template.summary_fields.inventory.name | sanitize) || ('NONE SELECTED' | translate)}}</dd></dl><dl><dt>{{ 'PROJECT' | translate }}</dt><dd>{{template.summary_fields.project.name | sanitize}}</dd></dl><dl><dt>{{ 'PLAYBOOK' | translate }}</dt><dd>{{template.playbook| sanitize}}</dd></dl><dl><dt>{{ 'CREDENTIAL' | translate }}</dt> <dd>{{(template.summary_fields.credential.name | sanitize) || ('NONE SELECTED' | translate)}}</dd></dl>"
data-popover-title="{{job_template.name| sanitize}}">?</span> data-popover-title="{{template.name| sanitize}}">?</span>
</div> </div>

View File

@@ -68,7 +68,7 @@ export default ['workflowData', 'workflowResultsService', 'workflowDataOptions',
}, },
legend: { legend: {
ON_SUCCESS: i18n._('On Success'), ON_SUCCESS: i18n._('On Success'),
ON_FAIL: i18n._('On Fail'), ON_FAILURE: i18n._('On Failure'),
ALWAYS: i18n._('Always'), ALWAYS: i18n._('Always'),
PROJECT_SYNC: i18n._('Project Sync'), PROJECT_SYNC: i18n._('Project Sync'),
INVENTORY_SYNC: i18n._('Inventory Sync'), INVENTORY_SYNC: i18n._('Inventory Sync'),