Adding variants and labels to entry, not yet done.
This commit is contained in:
@@ -46,6 +46,13 @@ class ShowCommentEdit(ClickMessage):
|
||||
model.modal = lambda: modals.edit_comment(model.entry.comment)
|
||||
|
||||
|
||||
class ShowVariantsEdit(ClickMessage):
|
||||
def update_model(self, model):
|
||||
model.modal_shown = True
|
||||
model.entry.make_copy()
|
||||
model.modal = lambda: modals.edit_variants(model.entry)
|
||||
|
||||
|
||||
class ShowExampleEdit(ClickMessage):
|
||||
def update_model(self, model):
|
||||
model.modal_shown = True
|
||||
|
||||
Reference in New Issue
Block a user