Skip to content

Commit

Permalink
Merge pull request #3455 from gleb-rudenko/ui-labels-for-the-last_mod…
Browse files Browse the repository at this point in the history
…ified-and-revision_timestamp-fields

#3028 / UI labels for the last_modified and revision_timestamp fields
  • Loading branch information
wardi committed Mar 28, 2017
2 parents 61f9a44 + e60c204 commit 949c657
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ckan/templates/package/resource_read.html
Expand Up @@ -151,8 +151,12 @@ <h2>{{ _('Additional Information') }}</h2>
</thead>
<tbody>
<tr>
<th scope="row">{{ _('Last updated') }}</th>
<td>{{ h.render_datetime(res.last_modified) or h.render_datetime(res.revision_timestamp) or h.render_datetime(res.created) or _('unknown') }}</td>
<th scope="row">{{ _('Data last updated') }}</th>
<td>{{ h.render_datetime(res.last_modified) or h.render_datetime(res.created) or _('unknown') }}</td>
</tr>
<tr>
<th scope="row">{{ _('Metadata last updated') }}</th>
<td>{{ h.render_datetime(res.revision_timestamp) or h.render_datetime(res.created) or _('unknown') }}</td>
</tr>
<tr>
<th scope="row">{{ _('Created') }}</th>
Expand Down

0 comments on commit 949c657

Please sign in to comment.