Sha256: 24cc8f8c87db9c725fdc10fb5d2c4c78636c79d83ebf48adbce6653d415cb7f2

Contents?: true

Size: 1.56 KB

Versions: 9

Compression:

Stored size: 1.56 KB

Contents

# Decidim::Admin

Adds an administration dashboard so users can manage their
organization, participatory processes and all other entities.

## Usage

This will add an admin dashboard to manage an organization an all its entities.
It is included by default with Decidim.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'decidim-admin'
```

And then execute:

```bash
bundle
```

## Components

### Static pages

This component allows an admin to create pages to serve static content. Some
example of this kind of pages could be:

* Terms of service
* FAQ
* Accessibility guidelines
* About the project

All the pages can be created with I18n support and will be accessible as
`/pages/:page-slug`. You can link them at your website the same way you link
other Rails models: `pages_path("terms-of-service")`.

There are some pages that exist by default and cannot be deleted since there
are links to them inside the Decidim framework, see `Decidim::StaticPage` for
the default list.

### Pager Configuration

The number of results shown per page and per page range can be configured in the app `decidim.rb` initializer as follows:

```ruby
Decidim::Admin.configure do |config|
  config.per_page_range = [15, 50, 100]
end
```

* `Decidim::Admin.per_page_range.first` sets the `default_per_page` value for `Decidim::Admin` (in Kaminari)
* `Decidim::Admin.per_page_range.last` sets the `max_per_page`  value for `Decidim::Admin` (in Kaminari)

## Contributing

See [Decidim](https://github.com/decidim/decidim).

## License

See [Decidim](https://github.com/decidim/decidim).

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-admin-0.29.0.rc4 README.md
decidim-admin-0.29.0.rc3 README.md
decidim-admin-0.29.0.rc2 README.md
decidim-admin-0.29.0.rc1 README.md
decidim-admin-0.28.2 README.md
decidim-admin-0.28.1 README.md
decidim-admin-0.28.0 README.md
decidim-admin-0.28.0.rc5 README.md
decidim-admin-0.28.0.rc4 README.md