skip to navigation
skip to content

Not Logged In

pyramid_versionbadge 0.2

A tween which renders a badge on the page indicating the version.

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.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
 
File Type Py Version Uploaded on Size
pyramid_versionbadge-0.2.zip (md5) Source 2013-12-04 6KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 43 downloads in the last week
  • 226 downloads in the last month