|
|
@ -1,22 +1,6 @@ |
|
|
|
<div class="inplace-editor type-{{type}} attribute-{{attribute}}" ng-class="{busy: isBusy, preview: isPreview, editable: isEditable}" aria-busy="{{ isBusy }}" ng-disabled="!isEditable"> |
|
|
|
<div class="inplace-editor type-{{type}} attribute-{{attribute}}" ng-class="{busy: isBusy, preview: isPreview, editable: isEditable}" aria-busy="{{ isBusy }}" ng-disabled="!isEditable"> |
|
|
|
<div class="ined-read-value" ng-class="{ default: placeholderSet, editable: isEditable }" ng-hide="isEditing" ng-switch="type"> |
|
|
|
<div class="ined-read-value" ng-class="{ default: placeholderSet, editable: isEditable }" ng-hide="isEditing" ng-switch="type"> |
|
|
|
<span class="read-value-wrapper" ng-switch-when="wiki_textarea" ng-bind-html="readValue"></span> |
|
|
|
<span class="read-value-wrapper" ng-include src="getDisplayTemplateUrl()"></span> |
|
|
|
<span class="read-value-wrapper" ng-switch-default> |
|
|
|
|
|
|
|
<span ng-if="!isUserLink"> |
|
|
|
|
|
|
|
<span ng-if="attribute == 'version.name'"> |
|
|
|
|
|
|
|
<span ng-if="entity.links.version"> |
|
|
|
|
|
|
|
<a href="{{pathHelper.versionPath(entity.embedded.version.props.id)}}"> |
|
|
|
|
|
|
|
{{entity.links.version.props.title}} |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<span ng-if="!entity.links.version"> |
|
|
|
|
|
|
|
{{readValue}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<span ng-if="attribute != 'version.name'" ng-bind="readValue"></span> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<user-field ng-if="isUserLink" user="readValue"></user-field> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<span ng-if="isEditable" class="editing-link-wrapper"> |
|
|
|
<span ng-if="isEditable" class="editing-link-wrapper"> |
|
|
|
<accessible-by-keyboard execute="startEditing()"> |
|
|
|
<accessible-by-keyboard execute="startEditing()"> |
|
|
|
<icon-wrapper icon-name="edit" icon-title="{{ editTitle }}"> |
|
|
|
<icon-wrapper icon-name="edit" icon-title="{{ editTitle }}"> |
|
|
|