Skip to content

openhealthcare/opal-timeline

Repository files navigation

This is timeline - an Opal plugin.

! Important Notice !

This plugin is no longer actively maintiained - as it depends on a version of django that is no longer supported by OPAL

Defining a timeline should be as simple as

from timeline.timelines import Timeline, TimelineElement from elcid.models import MicrobiologyInput

class SampleTimeline(Timeline):
    slug = "sample"

    elements = (
        TimelineElement(subrecord=MicrobiologyInput, group_by="when"),
    )

Then you can put them in a template with

{% load timelines %} {% timeline "sample" %}

About

A pluggable timeline for the opal framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published