Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | 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.pierre demo project.

>>> from lino import startup
>>> startup('lino_book.projects.pierre.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.