Skip to content

Commit

Permalink
FIX EZP-27306: Display modifier of published version in edit view and…
Browse files Browse the repository at this point in the history
… in version view
  • Loading branch information
jacek-foremski committed Apr 28, 2017
1 parent 4b71f55 commit d21471d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions design/admin/templates/content/parts/object_information.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@
<p>
<label>{'Modified'|i18n( 'design/admin/content/history' )}:</label>
{if $object.modified}
{def $latest_version=$object.versions|extract_right(1)[0]}
{$object.modified|l10n( shortdatetime )}<br />
{$latest_version.creator.name|wash}
{foreach $object.versions as $version}
{if eq($version.version, $object.published_version)}
{$version.creator.name|wash}
{break}
{/if}
{/foreach}
{else}
{'Not yet published'|i18n( 'design/admin/content/history' )}
{/if}
Expand Down

0 comments on commit d21471d

Please sign in to comment.