Skip to content

Commit

Permalink
#171 Show/Hide job error in job history page
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Mar 4, 2019
1 parent b234db9 commit dda7d94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/src/app/pages/jobs/components/jobs.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ <h4 class="media-heading text-primary">
</div>
<div ng-if="job.status === 'Failure'" class="row text-danger wrap">
<div class="col-sm-12">
<pre class="error-trace">{{job.message}}</pre>
<a class="text-danger" href ng-click="job.showError = !!!job.showError">{{job.showError ? 'Hide' : 'Show'}} error</a>
<pre ng-show="job.showError" class="error-trace">{{job.message}}</pre>
</div>
</div>
</div>
Expand Down

0 comments on commit dda7d94

Please sign in to comment.