Sha256: 2f9aa2cd7053bfafdf82336fdd5aa490b9160a4ff221d0e748b9d10599bcb559

Contents?: true

Size: 1.84 KB

Versions: 11

Compression:

Stored size: 1.84 KB

Contents

<script type="text/ng-template" id="promethee/components/cover/localize">
  <div ng-show="component.master.attributes.surtitle || component.master.attributes.title || component.master.attributes.subtitle">
    <hr>

    <div class="row">
      <div class="col-md-6">
        <img ng-src="/promethee/blob/{{component.attributes.blob.id}}" class="img-responsive">
      </div>
    </div>

    <div class="row" ng-show="component.master.attributes.surtitle">
      <div class="col-md-6">
        <b>Surtitle</b>
        <p>{{component.master.attributes.surtitle}}</p>
      </div>
      <div class="col-md-6">
        <div class="form-group">
          <label class="label-control">Surtitle</label>
          <input class="form-control" ng-model="component.attributes.surtitle" type="text">
        </div>
      </div>
    </div>

    <div class="row" ng-show="component.master.attributes.title">
      <div class="col-md-6">
        <b>Title</b>
        <p>{{component.master.attributes.title}}</p>
      </div>
      <div class="col-md-6">
        <div class="form-group">
          <label class="label-control">Title</label>
          <input class="form-control" ng-model="component.attributes.title" type="text">
        </div>
      </div>
    </div>

    <div class="row" ng-show="component.master.attributes.subtitle">
      <div class="col-md-6">
        <b>Subtitle</b>
        <p>{{component.master.attributes.subtitle}}</p>
      </div>
      <div class="col-md-6">
        <div class="form-group">
          <label class="label-control">Subtitle</label>
          <input class="form-control" ng-model="component.attributes.subtitle" type="text">
        </div>
      </div>
    </div>
  </div>

  <pre class="hidden">{{component.attributes.search = (component.attributes.title + ' ' + component.attributes.surtitle + ' ' + component.attributes.subtitle)}}</pre>

</script>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
promethee-1.6.10 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.8 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.7 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.6 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.5 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.4 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.3 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.2 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.1 app/views/promethee/components/cover/_localize.html.erb
promethee-1.6.0 app/views/promethee/components/cover/_localize.html.erb
promethee-1.5.4 app/views/promethee/components/cover/_localize.html.erb