A tween which renders a badge on the page indicating the version.
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.
- Add support for Python 3. Remove (official) support for Python 2.
- add second setting for css class
- enable badge per default
- possibility to set css class
- initial release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyramid_versionbadge-0.3.tar.gz (2.7 kB)||File type Source||Python version None||Upload date||Hashes View|