Navigation Menu

Skip to content

Commit

Permalink
Clean up Item History (bugs 647149 and 650121)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoberger committed Apr 14, 2011
1 parent 743f410 commit 98d510f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
16 changes: 12 additions & 4 deletions apps/editors/templates/editors/includes/history.html
Expand Up @@ -7,8 +7,16 @@
{% endif %}
</td>

<td>{{ record.created|datetime }}</td>
<td>{{ record.user.name }}</td>
<td>{{ record }}</td>
<td>{% if record.details %}{{ record.details.comments }}{% endif %}</td>
<td>
{{ record.user.name }}<br>
<span class="light">{{ record.created|datetime }}</span>
</td>
<td>
<strong>{{ record }}</strong>
{% if record.details %}
<div class="history_comment">
{{ record.details.comments|nl2br }}
</div>
{% endif %}
</td>
</tr>
26 changes: 14 additions & 12 deletions apps/editors/templates/editors/review.html
Expand Up @@ -45,22 +45,24 @@ <h3 id="approval-notes">

<h3 id="file-history">{{ _('Item History') }}</h3>
{% if history %}
<table id="review-files">
<div class="results">
<div class="results-inner">
<table id="review-files" class="data-grid">
<thead>
<tr>
<th>{{ _('Version/File') }}</th>
<th>{{ _('Date') }}</th>
<th>{{ _('Reviewer') }}</th>
<th>{{ _('Action') }}</th>
<th>{{ _('Comments') }}</th>
</tr>
<tr class="listing-header">
<th width="15%">{{ _('Version') }}</th>
<th width="20%">{{ _('Review') }}</th>
<th>{{ _('Comments') }}</th>
</tr>
</thead>
<tbody>
{% for record in history %}
{% include 'editors/includes/history.html' %}
{% endfor %}
{% for record in history %}
{% include 'editors/includes/history.html' %}
{% endfor %}
</tbody>
</table>
</table>
</div>
</div>
{% else %}
<p>
{{ _('No previous review entries could be found.') }}
Expand Down

0 comments on commit 98d510f

Please sign in to comment.