Skip to content

0.12.0 (Major Release)

Compare
Choose a tag to compare
@fredkingham fredkingham released this 15 Oct 18:05
8dfb4fb

A major release with a few notable changes.

  • Adds the {% block analytics %} in the base template (opal/templates/base.html) that by default contains the google analytics code.

  • Adds the block {% block javascripts %} in the base template (opal/templates/base.html) that will compress all javascripts.

  • Adds a method .demographics() to opal.models.Patient which returns the relevant demographics instance.

  • Adds a for_user method on to the menu item. This method
    takes a user and by default returns True. Override this
    to decide if a menu item should be shown in the nav bar.