Sha256: 868ce941bd578ace48c7005f1760650fef3db789fe9c5a87a3d2932f3790fd41

Contents?: true

Size: 840 Bytes

Versions: 7

Compression:

Stored size: 840 Bytes

Contents

pageflow.internalLinks.GridConfigurationEditorView = pageflow.ConfigurationEditorView.extend({
  configure: function() {
    this.tab('general', function() {
      this.group('general');
    });

    this.tab('files', function() {
      this.group('background');
      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

7 entries across 7 versions & 1 rubygems

Version Path
pageflow-internal-links-1.6.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-1.5.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-1.4.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-1.3.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-1.2.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-1.1.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js
pageflow-internal-links-1.0.0 app/assets/javascripts/pageflow/internal_links/editor/views/grid_configuration_editor_view.js