Sha256: 573745e8098eb05a5c32cfe05e8185436a90517a2c3a781cb498f9e38651c7b7

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 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.SiteReferencesInputView);
    });

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-external-links-0.4.0 app/assets/javascripts/pageflow/external_links/editor/views/configuration_editor.js
pageflow-external-links-0.3.0 app/assets/javascripts/pageflow/external_links/editor/views/configuration_editor.js