Skip to content

Commit

Permalink
[batch] Show attributes on the jobs UI page (#13948)
Browse files Browse the repository at this point in the history
Fixes #13914
  • Loading branch information
jigold authored Oct 31, 2023
1 parent 40a3467 commit 662dc75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions batch/batch/front_end/templates/job.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ <h2>Properties</h2>
<li>Cost: {% if 'cost' in job and job['cost'] is not none %}{{ job['cost'] }}{% endif %}</li>
</ul>

<h2>Attributes</h2>
{% if 'attributes' in job %}
{% for name, value in job['attributes'].items() %}
<p>{{ name }}: {{ value }}</p>
{% endfor %}
{% endif %}

<h2>Cost Breakdown</h2>
{% if job['cost_breakdown'] %}
<table class="data-table">
Expand Down

0 comments on commit 662dc75

Please sign in to comment.