|
|
|
@ -140,9 +140,9 @@ class View:
|
|
|
|
|
h("div.example-dot", dot_attr, "▣"),
|
|
|
|
|
h(example_tag, {}, [
|
|
|
|
|
h("span.example-text", {"on": {"click": msg(ShowExampleMenu(example))} }, example_content),
|
|
|
|
|
h("div.example-clusters", {}, show_toggle_cluster_buttons(sense, example)),
|
|
|
|
|
h("div.example-translation-list", {}, [
|
|
|
|
|
h("div.example-translation", {}, View.view_translations(example.translations, example, model))])])])
|
|
|
|
|
h("div.example-translation", {}, View.view_translations(example.translations, example, model))]),
|
|
|
|
|
h("div.example-clusters", {}, show_toggle_cluster_buttons(sense, example))])])
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def view_translations(translations, parent, model):
|
|
|
|
|