From cf7c8b610b7762e8330ab38e22684433706f47d5 Mon Sep 17 00:00:00 2001 From: Ozbolt Menegatti Date: Tue, 28 Jan 2020 23:42:36 +0100 Subject: [PATCH] not implementing changing the clusters in examples multiple at once for now. --- src/view/modals.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/view/modals.py b/src/view/modals.py index dce28c9..4f3bff2 100644 --- a/src/view/modals.py +++ b/src/view/modals.py @@ -130,4 +130,11 @@ def do_chosen_examples(example_list, entry): options.append(h("label.checkable", {"attrs": {"for": id_}}, text)) options.append(h("br", {}, [])) + if can_choose_cluster: + options.append(h("hr", {}, [])) + options.append(h("div.flex.five.example-component", {}, [ + h("div.two-fifth", {}, "NOT IMPLEMENTED"), + h("div.three-fifth", {}, + show_toggle_cluster_buttons(entry.senses[sense_of_first_example], example_list[0]))])) + return modal_template(options, "Examples picker", message.DoChosenExamples(example_list))