Sha256: 3420bd7fdaed4bcd555b2be3ff9d22c28313e7573f8910dda3400f033e16fa43

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

<script type="text/ng-template" id="promethee/components/collection_item/localize">
  <div ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value || master.attributes.media_type.value == 'video'">
    <hr>

    <div class="row js-translation-element" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
      <div class="col-md-6">
        <b>Collection Item Caption</b>
        <div class="promethee-edit__wrapper js-translation-source" data-type="text" ng-bind-html="master.attributes.caption.value | htmlSafe"></div>
      </div>
      <div class="col-md-6 js-translation-target">
        <b>Collection Item Caption</b>
        <summernote config="summernoteConfig" ng-model="component.attributes.caption.value"></summernote>
      </div>
    </div>

    <div class="row js-translation-element" ng-show="master.attributes.media_type.value == 'video'">
      <div class="col-md-6">
        <b>Video URL</b>
        <div class="js-translation-source" data-type="string" ng-bind-html="master.attributes.video.value | htmlSafe"></div>
      </div>
      <div class="col-md-6 js-translation-target">
        <b>Video URL</b>
        <input class="form-control" ng-model="component.attributes.video.value" type="text">
      </div>
    </div>
  </div>
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-5.1.1 app/views/promethee/components/collection_item/_localize.html.erb
promethee-5.1.0 app/views/promethee/components/collection_item/_localize.html.erb
promethee-5.0.2 app/views/promethee/components/collection_item/_localize.html.erb
promethee-5.0.1 app/views/promethee/components/collection_item/_localize.html.erb