Skip to content

Commit

Permalink
Merge pull request #2901 from umbraco/abjerner-patch-1
Browse files Browse the repository at this point in the history
Hide "Created Date" field when the content hasn't yet been created
  • Loading branch information
nul800sebastiaan authored Sep 25, 2018
2 parents 524f53d + c8664a8 commit e06fef2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
</umb-badge>
</umb-control-group>

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

Expand Down Expand Up @@ -201,7 +201,7 @@
</div>
</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 e06fef2

Please sign in to comment.