|
|
|
@ -150,10 +150,7 @@ class View:
|
|
|
|
|
h(example_tag, {}, [
|
|
|
|
|
h("span.example-text", {"on": {"click": msg(ShowExampleMenu(example))} }, example_content),
|
|
|
|
|
h("div.example-translation-list", {}, [
|
|
|
|
|
h("div.example-translation", {}, [
|
|
|
|
|
h("span.example-arrow", {}, "↪"),
|
|
|
|
|
vt
|
|
|
|
|
]) for vt in View.view_translations(example.translations, example, model)])])])
|
|
|
|
|
h("div.example-translation", {}, View.view_translations(example.translations, example, model))])])])
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
def view_translations(translations, parent, model):
|
|
|
|
|