Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

notes: Notes

The lino_xl.lib.niotes plugin adds a multipurpose concept of notes.

Examples in this document have been tested against the lino_book.projects.cosi2 demo project.

>>> from lino import startup
>>> startup('lino_book.projects.cosi2.settings.demo')
>>> from lino.api.doctest import *

Notes

class Note

A note is a dated and timed document written by its author (a user). For example a report of a meeting or a phone call, or just some observation. Notes are usually meant for internal use.

date
time
type

The type of note.

event_type

The type of the event that this note means.

subject
body
language

Note types

Im Web-Interface unter Configure ‣ Note Types müssen die Notizarten definiert werden.

class NoteType
name
important
remark
special_type
print_method

Wenn dieses Feld leer ist, kann eine Notiz dieser Art nur am Bildschirm konsultiert werden und ist nicht druckbar.

In der Auswahlliste stehen zwar weitere Methoden, aber funktionieren tut bis auf weiteres nur die Methode AppyPrintMethod.

template

Wenn eine Druckmethode angegeben ist, muss außerdem im Feld template eine Vorlagedatei ausgewählt werden.

body_template

An optional template that will be rendered into the body variable.

class EventType

A possible choice for Note.event_type.

remark
body
class NoteTypes

Choicelists

class SpecialTypes

The list of special note types which have been declared on this Site.

class SpecialType

Represents a special note type.