Add external links to Wagtail Dashboard Menu
Project description
wagtail-external-menu-items
Add external links to Wagtail Dashboard Menu
Installation :package:
From PyPi repository:
pip install wagtail-external-menu-items
From source code:
git clone https://github.com/spamz23/wagtail-external-menu-items.git
virtualenv venv
./venv/scripts/activate
pip install -r requirements.txt
Quickstart
- Add
wagtail_external_menu_items
to yourINSTALLED_APPS
inside Django settings:
INSTALLED_APPS = (
# ...
'wagtail_external_menu_items',
)
- Add some configuration settings (inside your Django configs):
# ...
WAGTAIL_EXTERNAL_MENU_ITEMS={
# A list of dicts, where each dict is a item (button) to add to the dashboard
"items": [
{
"label": "Sentry Logs", # The name of the button
"url": "https://sentry.io/organizations/your-organization", # The external link
"classnames": "icon icon-fa-book", # Any classname, in this case we assign a font awesome icon (must have fontawesome installed)
}
],
"order": 1000 # Optional! The starting order for the items
}
That's all the configuration needed!
Contributing
All pull requests are welcome! Feel free to contribute with any bug fix or new feature!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for wagtail-external-menu-items-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6b7c021165fbb26217a64dc5c1af53617b6d48b0b7caa8a1dd7224b6a380791 |
|
MD5 | b77b925aabb31006990c389566b6d1de |
|
BLAKE2b-256 | 8a0268fea24ddd74cf40c9044170d9fd46b4f8455752a2e2de5902e61a38988a |
Close
Hashes for wagtail_external_menu_items-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dfce00432bb0aeb3c22c4d7519460d6a71420301d609606eebdbcab2263bd04 |
|
MD5 | b6739c7d158cb0b11db3513ed9b8ba9e |
|
BLAKE2b-256 | 9b2de5e32fd18c74879458e3f623b6bc4ca749a393b281cf39847a15c8bddb3e |