Skip to content

Commit

Permalink
Merge pull request #3104 from umbraco/abjerner-patch-2
Browse files Browse the repository at this point in the history
Hide "Created Date" field when the media hasn't yet been created
  • Loading branch information
nul800sebastiaan authored Oct 3, 2018
2 parents 2bda1a2 + 6622136 commit be140bd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<umb-box-header title-key="general_general"></umb-box-header>
<umb-box-content class="block-form">

<umb-control-group data-element="node-info-create-date" label="@content_createDate">
<umb-control-group ng-if="node.id !== 0" data-element="node-info-create-date" label="@content_createDate">
{{node.createDateFormatted}} by {{ node.owner.name }}
</umb-control-group>

<umb-control-group data-element="node-info-update-date" label="@content_updateDate">
<umb-control-group ng-if="node.id !== 0" data-element="node-info-update-date" label="@content_updateDate">
{{node.updateDateFormatted}}
</umb-control-group>

Expand All @@ -47,7 +47,7 @@
</umb-node-preview>
</umb-control-group>

<umb-control-group data-element="node-info-id" label="Id">
<umb-control-group ng-if="node.id !== 0" data-element="node-info-id" label="Id">
<div>{{ node.id }}</div>
<small>{{ node.key }}</small>
</umb-control-group>
Expand Down

0 comments on commit be140bd

Please sign in to comment.