{% load i18n sizeformat %}
{% load url from future %}
<h3>{% trans "Job Template" %}</h3>
<div class="status row detail">
  <dl class="dl-horizontal">
      <dt>{% trans "Name" %}</dt>
      <dd>{{ job.name }}</dd>
      <dt>{% trans "ID" %}</dt>
      <dd>{{ job.id }}</dd>
      <dt>{% trans "Description" %}</dt>
      <dd>{{ job.description|default:_("None") }}</dd>
      <dt>{% trans "Mains" %}</dt>
      {% for main in job.mains %}
        <dd><a href="{% url 'horizon:project:data_processing.job_binaries:details' main.id  %}">{{ main.name }}</a></dd>
      {% empty %}
        <dd>{% trans "None" %}</dd>
      {% endfor %}
      <dt>{% trans "Libs" %}</dt>
      {% for lib in job.libs %}
        <dd><a href="{% url 'horizon:project:data_processing.job_binaries:details' lib.id  %}">{{ lib.name }}</a></dd>
      {% empty %}
        <dd>{% trans "None" %}</dd>
      {% endfor %}
      <dt>{% trans "Create time" %}</dt>
      <dd>{{ job.created_at }}</dd>
  </dl>
</div>

{% load i18n sizeformat %}
{% load url from future %}
<h3>{% trans "Job Template" %}</h3>
<div class="status row detail">
  <dl class="dl-horizontal">
      <dt>{% trans "Name" %}</dt>
      <dd>{{ job.name }}</dd>
      <dt>{% trans "ID" %}</dt>
      <dd>{{ job.id }}</dd>
      <dt>{% trans "Type" %}</dt>
      <dd>{{ job.type }}</dd>
      <dt>{% trans "Description" %}</dt>
      <dd>{{ job.description|default:_("None") }}</dd>
      <dt>{% trans "Mains" %}</dt>
      {% for main in job.mains %}
        <dd><a href="{% url 'horizon:project:data_processing.job_binaries:details' main.id  %}">{{ main.name }}</a></dd>
      {% empty %}
        <dd>{% trans "None" %}</dd>
      {% endfor %}
      <dt>{% trans "Libs" %}</dt>
      {% for lib in job.libs %}
        <dd><a href="{% url 'horizon:project:data_processing.job_binaries:details' lib.id  %}">{{ lib.name }}</a></dd>
      {% empty %}
        <dd>{% trans "None" %}</dd>
      {% endfor %}
      <dt>{% trans "Created time" %}</dt>
      <dd>{{ job.created_at|parse_isotime }}</dd>
      <dt>{% trans "Updated time" %}</dt>
      <dd>{{ job.updated_at|parse_isotime|default:_("Never") }}</dd>
  </dl>
</div>

Add job type and updated time in job template detail page
Add job type and updated time in job template detail page

We add two item "Type" and "Updated Time" in job template detail page.

Closes-bug: #1452580
Change-Id: I609b6fc19003059d2aac8d6c3352e4c5494467fa
