OpenSlides / openslides-voting

Voting plugin for OpenSlides 2.x
MIT License
5 stars 4 forks source link

Which title to use for motions and assignments #73

Closed jwinzer closed 6 years ago

jwinzer commented 6 years ago

@FinnStutzenstein What is the difference between assignment.agenda_item.getTitle() and assignment.title? When does it make sense to use {{ assignment.agenda_item.getTitle() || and assignment.title }} in templates? The same applies to motions.

FinnStutzenstein commented 6 years ago

the getTitle() from an Agenda_item may be a different as a from the object itself. Mostyl shorter and a more common sense for the agenda. we should use this for the voting plugin. the special case with || assignment.title I don't know, maybe this is a relict of the past, we should use just the getTiele().