A tween which renders a badge on the page indicating the version.
Project description
pyramid_versionbadge
Minimal tween to display a version number or other stuff on every page of your app.
<div id=”versionbadge”>Your text</div>
To use, include the tween and set a value for “versionbadge.text” in your config registry. You can also set a value for “versionbadge.css” to have the div get a css class.
If the text value is empty, the div will not be rendered.
If the text value is not included in the config at all, it will be rendered with a default value.
pyramid_versionbadge
0.3 (2018-12-03)
Add support for Python 3. Remove (official) support for Python 2.
0.2 (2013-12-04)
add second setting for css class
enable badge per default
possibility to set css class
tests
0.1 (2013-12-03)
initial release
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
File details
Details for the file pyramid_versionbadge-0.3.tar.gz
.
File metadata
- Download URL: pyramid_versionbadge-0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c25fd04784e1f21030a40d3a78e80d52c298fb131510af74d92d08ce6dcb248 |
|
MD5 | 554be744b87dfd8af9976b130b608716 |
|
BLAKE2b-256 | acffc634c9db7800d069c8794459729bc4b33c14c2c70819c6dcfbd7bed1f0df |