app/views/promethee/components/collection_item/_localize.html.erb in promethee-3.0.2 vs app/views/promethee/components/collection_item/_localize.html.erb in promethee-4.0.0

- old
+ new

@@ -1,27 +1,27 @@ <script type="text/ng-template" id="promethee/components/collection_item/localize"> - <div ng-show="master.attributes.searchable_caption !== '' || master.attributes.media_type == 'video'"> + <div ng-show="master.attributes.caption.value !== '' || master.attributes.media_type.value == 'video'"> <hr> - <div class="row" ng-show="master.attributes.searchable_caption !== ''"> + <div class="row" ng-show="master.attributes.caption.value !== ''"> <div class="col-md-6"> <b>Collection Item Caption</b> - <div class="promethee-edit__wrapper" ng-bind-html="master.attributes.searchable_caption | htmlSafe"></div> + <div class="promethee-edit__wrapper" ng-bind-html="master.attributes.caption.value | htmlSafe"></div> </div> <div class="col-md-6"> - <label class="label-control">Collection Item Caption</label> - <summernote config="summernoteConfig" ng-model="component.attributes.searchable_caption"></summernote> + <b>Collection Item Caption</b> + <summernote config="summernoteConfig" ng-model="component.attributes.caption.value"></summernote> </div> </div> - <div class="row" ng-show="master.attributes.media_type == 'video'"> + <div class="row" ng-show="master.attributes.media_type.value == 'video'"> <div class="col-md-6"> <b>Video URL</b> - <div ng-bind-html="master.attributes.video.url | htmlSafe"></div> + <div ng-bind-html="master.attributes.video.value | htmlSafe"></div> </div> <div class="col-md-6"> - <label class="label-control">Video URL</label> - <input class="form-control" ng-model="component.attributes.video.url" type="text"> + <b>Video URL</b> + <input class="form-control" ng-model="component.attributes.video.value" type="text"> </div> </div> </div> </script>