Sha256: 14cdec19ebc29908a9e1df00d87bddab231f676b8abe1a2bd152aa32d4a9fc0f

Contents?: true

Size: 952 Bytes

Versions: 18

Compression:

Stored size: 952 Bytes

Contents

<%
  init = <<~JAVASCRIPT
    promethee.definitions.push({
      name: 'Image',
      icon: #{ promethee_component_render_icon 'image' },
      position: 2,
      library: true,
      data: {
        type: 'image',
        attributes: {
          image: {
            searchable: false,
            translatable: false,
            type: 'blob',
            value: {
              id: undefined,
              name: ''
            }
          },
          alt: {
            searchable: true,
            translatable: true,
            type: 'string',
            value: ''
          },
          caption: {
            searchable: true,
            translatable: true,
            type: 'string',
            value: ''
          },
          title: {
            searchable: true,
            translatable: true,
            type: 'string',
            value: ''
          }
        }
      }
    })
  JAVASCRIPT
%>
<div ng-init="<%= init %>"></div>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
promethee-5.1.1 app/views/promethee/components/image/_edit_define.html.erb
promethee-5.1.0 app/views/promethee/components/image/_edit_define.html.erb
promethee-5.0.2 app/views/promethee/components/image/_edit_define.html.erb
promethee-5.0.1 app/views/promethee/components/image/_edit_define.html.erb
promethee-5.0.0 app/views/promethee/components/image/_edit_define.html.erb
promethee-4.1.28 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.27 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.26 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.25 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.24 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.23 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.22 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.21 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.20 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.19 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.18 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.17 app/views/promethee/components/image/_edit.define.html.erb
promethee-4.1.16 app/views/promethee/components/image/_edit.define.html.erb