example frequency/logdice shown.
This commit is contained in:
@@ -131,11 +131,11 @@ class View:
|
||||
example_text_inner_tag = "span.example-text-{}".format(example.get_view_type())
|
||||
example_content.append(h(example_text_inner_tag, {}, example.text()))
|
||||
|
||||
if "frequency" in example.other_attributes:
|
||||
example_content.append(h("span.example-frequency", {}, example.other_attributes["frequency"]))
|
||||
|
||||
if "logDice" in example.other_attributes:
|
||||
example_content.append(h("span.example-logdice", {}, example.other_attributes["logDice"]))
|
||||
other_attributes = example.get_other_attributes()
|
||||
if "frequency" in other_attributes:
|
||||
example_content.append(h("span.example-frequency", {}, other_attributes["frequency"]))
|
||||
if "logDice" in other_attributes:
|
||||
example_content.append(h("span.example-logdice", {}, other_attributes["logDice"]))
|
||||
|
||||
parent_display = "inherit"
|
||||
if not model.examples_shown and not example.is_multiword():
|
||||
|
||||
Reference in New Issue
Block a user