Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #15892: Go directly to task details from version page #6215

Merged
merged 1 commit into from Aug 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -26,13 +26,17 @@
<a ui-sref="content-views.details.version.details({versionId: version.id})" >Version {{ version.version }}</a>
</td>
<td bst-table-cell >
<a ui-sref="content-views.details.history" ng-hide="hideProgress(version)">
<a ng-href="/foreman_tasks/tasks/{{ version.last_event.task.id }}"
ng-hide="hideProgress(version)">

<div ng-class="{ active: taskInProgress(version) }"
class="progress progress-striped">
<span progressbar animate="false" value="version.task.progressbar.value" type="{{version.task.progressbar.type}}"></span>
</div>

{{ status(version) }}
</a>

<span ng-show="hideProgress(version)">
{{ historyText(version) }}
({{ version.last_event.created_at | date:'short' }})
Expand Down