unified example editing
This commit is contained in:
@@ -99,9 +99,9 @@ class View:
|
||||
|
||||
return h("div.example", {}, [
|
||||
h("div.example-dot", {}, "▣"),
|
||||
h(example_tag, {}, [
|
||||
h("span.example-text", {"on": {"click": msg(ShowExampleEdit(example))} }, example.text),
|
||||
h("div.example-translation-list", { "on": {"click": msg(ShowExampleTranslationEdit(example))} }, [
|
||||
h(example_tag, {"on": {"click": msg(ShowExampleEdit(example))} }, [
|
||||
h("span.example-text", {}, example.text),
|
||||
h("div.example-translation-list", {}, [
|
||||
h("div.example-translation", {}, [
|
||||
h("span.example-arrow", {}, "↪"),
|
||||
h("span", {}, t)])
|
||||
|
||||
Reference in New Issue
Block a user