Skip to content

Commit

Permalink
fixes #11647 - content view history: add description to version list
Browse files Browse the repository at this point in the history
Small change to add the content view version to the content view history
details.
  • Loading branch information
bbuckingham committed Sep 1, 2015
1 parent 911e849 commit b8fbbd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -10,6 +10,10 @@ node :version do |h|
h.content_view_version.version
end

node :description do |h|
h.content_view_version.description
end

node :publish do |h|
h.environment.nil?
end
Expand Down
Expand Up @@ -13,6 +13,7 @@
<tr bst-table-head>
<th translate>Date</th>
<th translate>Version</th>
<th translate>Description</th>
<th translate>Action</th>
<th translate>User</th>
<th translate>Status</th>
Expand All @@ -23,6 +24,7 @@
<tr bst-table-row ng-repeat="history in detailsTable.rows">
<td bst-table-cell>{{ history.created_at | date:'short' }}</td>
<td bst-table-cell>{{ history.version }} </td>
<td bst-table-cell>{{ history.description }} </td>
<td bst-table-cell>{{ actionText(history) }}</td>
<td bst-table-cell>{{ history.user }}</td>
<td bst-table-cell>{{ history.task.result }}</td>
Expand Down

0 comments on commit b8fbbd8

Please sign in to comment.