def add_list(self): new_column_editor = column.NewColumnEditor(len(self.columns) - 1) answer = self.modal.call( popin.Modal(new_column_editor, force_refresh=True)) if answer: index, title, nb_cards = answer self.create_column(index, title, nb_cards if nb_cards else None)
def show_preferences(self): preferences = BoardConfig(self) self.modal.call(popin.Modal(preferences))
def show_actionlog(self): self.modal.call(popin.Modal(self.action_log))
def save_template(self, comp): save_template_editor = SaveTemplateTask( self.get_title(), self.get_description(), partial(self.save_as_template, comp)) self.modal.call(popin.Modal(save_template_editor))
def edit_description(self): description_editor = BoardDescription(self.get_description()) answer = self.modal.call(popin.Modal(description_editor)) if answer is not None: self.set_description(answer)
def show_preferences(self): preferences = BoardConfig(self) self.modal.call(popin.Modal(preferences, force_refresh=True))