Merge pull request #3221 from mabashian/workflow-results-inv-tooltip

Show the proper tooltip on workflow results inventory

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-02-14 16:28:34 +00:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ export default ['workflowData', 'workflowResultsService', 'workflowDataOptions',
EDIT_WORKFLOW: i18n._('Edit the workflow job template'), EDIT_WORKFLOW: i18n._('Edit the workflow job template'),
EDIT_SLICE_TEMPLATE: i18n._('Edit the slice job template'), EDIT_SLICE_TEMPLATE: i18n._('Edit the slice job template'),
EDIT_SCHEDULE: i18n._('Edit the schedule'), EDIT_SCHEDULE: i18n._('Edit the schedule'),
EDIT_INVENTORY: i18n._('Edit the inventory'),
SOURCE_WORKFLOW_JOB: i18n._('View the source Workflow Job'), SOURCE_WORKFLOW_JOB: i18n._('View the source Workflow Job'),
TOGGLE_STDOUT_FULLSCREEN: i18n._('Expand Output'), TOGGLE_STDOUT_FULLSCREEN: i18n._('Expand Output'),
STATUS: '' // re-assigned elsewhere STATUS: '' // re-assigned elsewhere

View File

@@ -133,7 +133,7 @@
</label> </label>
<div class="WorkflowResults-resultRowText"> <div class="WorkflowResults-resultRowText">
<a href="{{ inventory_link }}" <a href="{{ inventory_link }}"
aw-tool-tip="{{ strings.tooltips.EDIT_WORKFLOW }}" aw-tool-tip="{{ strings.tooltips.EDIT_INVENTORY }}"
data-placement="top"> data-placement="top">
{{ workflow.summary_fields.inventory.name }} {{ workflow.summary_fields.inventory.name }}
</a> </a>