Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(file): match mockup
Browse files Browse the repository at this point in the history
Closes #516
Christine Yu committed Mar 10, 2015

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
1 parent 0100e2e commit cf2d293
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions app/scripts/files/templates/file.html
Original file line number Diff line number Diff line change
@@ -44,6 +44,10 @@ <h3 class="panel-title pull-left" data-translate>File Properties</h3>
<th scope="row" data-translate>UUID</th>
<td>{{ ::fc.file.file_id }}</td>
</tr>
<tr>
<th scope="row" data-translate>File Origin</th>
<td>{{ ::fc.file.file_origin | humanify }}</td>
</tr>
<tr>
<th scope="row" data-translate>Data format</th>
<td>{{ ::fc.file.data_format }}</td>
@@ -64,10 +68,6 @@ <h3 class="panel-title pull-left" data-translate>File Properties</h3>
<th scope="row" data-translate>Uploaded</th>
<td>{{ ::fc.file.uploaded | date }}</td>
</tr>
<tr>
<th scope="row" data-translate>Modified</th>
<td>{{ ::fc.file.updated | date }}</td>
</tr>
<tr>
<th scope="row" data-translate>State</th>
<td>{{ ::fc.file.state | humanify }}</td>
@@ -85,16 +85,6 @@ <h3 class="panel-title pull-left" data-translate>File Properties</h3>
</span>
</td>
</tr>
<tr>
<th scope="row" data-translate>Tag</th>
<td>
<span data-ng-if="!fc.file.tags">--</span>
<span data-ng-repeat="tag in fc.file.tags track by $index">
{{ tag }}
<span data-ng-if="!$last">, </span>
</span>
</td>
</tr>
</tbody>
</table>
</div>
@@ -140,9 +130,15 @@ <h3 class="panel-title" data-translate>Data Information</h3>
<td>{{ ::fc.file.center.short_name }}</td>
</tr>
<tr>
<th scope="row" data-translate>Data Submitted Since</th>
<td>{{ ::fc.file.submittedSince | date }}</td>
</tr>
<th scope="row" data-translate>Tag</th>
<td>
<span data-ng-if="!fc.file.tags">--</span>
<span data-ng-repeat="tag in fc.file.tags track by $index">
{{ tag }}
<span data-ng-if="!$last">, </span>
</span>
</td>
</tr>
</tbody>
</table>
</div>

0 comments on commit cf2d293

Please sign in to comment.