Fixes links in various lists to maintain query params while navigating to edit form

This commit is contained in:
mabashian 2019-06-12 16:12:08 -04:00
parent e70c7ab458
commit b83cef6ed7
4 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@
<div class="at-Row-items">
<at-row-item
header-value="{{ application.name }}"
header-link="/#/applications/{{ application.id }}">
header-state="applications.edit({application_id:{{application.id}}})">
</at-row-item>
<at-row-item
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_ORGANIZATION') }}"

View File

@ -40,7 +40,7 @@
status-tip="{{ project.statusTip }}"
status-click="vm.showSCMStatus(project.id)"
header-value="{{ project.name }}"
header-link="/#/projects/{{ project.id }}"
header-state="projects.edit({project_id:{{project.id}}})"
header-tag="{{ vm.projectTypes[project.scm_type] }}">
</at-row-item>
<div class="at-Row-actions">

View File

@ -53,13 +53,13 @@
<div class="at-Row-container">
<at-row-item
header-value="{{ template.name }}"
header-link="/#/templates/job_template/{{ template.id }}"
header-state="templates.editJobTemplate({job_template_id:{{template.id}}})"
header-tag="{{ vm.templateTypes[template.type] }}"
ng-if="template.type === 'job_template'">
</at-row-item>
<at-row-item
header-value="{{ template.name }}"
header-link="/#/templates/workflow_job_template/{{ template.id }}"
header-state="templates.editWorkflowJobTemplate({workflow_job_template_id:{{template.id}}})"
header-tag="{{ vm.templateTypes[template.type] }}"
ng-if="template.type === 'workflow_job_template'">
</at-row-item>

View File

@ -45,7 +45,7 @@
<div class="at-Row-items">
<at-row-item
header-value="{{ instance_group.name }}"
header-link="/#/instance_groups/{{ instance_group.id }}"
header-state="instanceGroups.edit({instance_group_id:{{instance_group.id}}})"
header-tag="{{ instance_group.is_isolated ? vm.strings.get('list.ROW_ITEM_LABEL_ISOLATED') : '' }}"
>
</at-row-item>