Sha256: 4e464b2fd22fd7a50a4652372254d2446c1d7ca951b25884d678e9659de1705c

Contents?: true

Size: 680 Bytes

Versions: 3

Compression:

Stored size: 680 Bytes

Contents

pageflow.ConfigurationEditorView.register('external_links', {
  configure: function() {
    this.tab('general', function() {
      this.group('general');
    });

    this.tab('files', function() {
      this.input('background_image_id', pageflow.FileInputView, {collection: pageflow.imageFiles});
      this.input('thumbnail_image_id', pageflow.FileInputView, {
        collection: pageflow.imageFiles,
        imagePositioning: false
      });
    });

    this.tab('links', function() {
      this.input('linked_external_site_perma_ids', pageflow.externalLinks.SiteReferenceInputView);
    });

    this.tab('options', function() {
      this.group('options');
    });
  }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-external-links-0.2.0 app/assets/javascripts/pageflow/external_links/editor/views/configuration_editor.js
pageflow-external-links-0.1.0 app/assets/javascript/pageflow/external_links/editor/views/configuration_editor.js
pageflow-external-links-0.0.1 app/assets/javascript/pageflow/external_links/editor/views/configuration_editor.js