Sha256: 0b16e837137c82ec4bc8ed1500aab71718b3631cc089c17b638913f12158363f

Contents?: true

Size: 908 Bytes

Versions: 2

Compression:

Stored size: 908 Bytes

Contents

pageflow.internalLinks.GridConfigurationEditorView = pageflow.ConfigurationEditorView.extend({
  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,
        positioning: false
      });
    });

    this.tab('links', function() {
      this.view(pageflow.internalLinks.EditableLinksModeView, {
        model: this.model.page
      });

      this.input('linked_pages_layout', pageflow.SelectInputView, {values: pageflow.Page.linkedPagesLayouts});
      this.view(pageflow.PageLinksView, {
        model: this.model.page
      });
    });

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-internal-links-0.2.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-0.1.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js