-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable single- and multiple-choice questions in the inquiry pre…
…view
- Loading branch information
1 parent
251c20d
commit 8c97c44
Showing
4 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
<p class="cd-truncated" ...attributes> | ||
{{~this.displayedText~}} | ||
{{#if this.truncate}} | ||
<a href="" {{on "click" this.toggleExpand}}> | ||
{{~t (concat "caluma.distribution." (if this.expand "less" "more"))~}} | ||
</a> | ||
{{/if}} | ||
</p> | ||
{{#if (is-array @text)}} | ||
<UkList @bullet={{true}} class="uk-margin-remove" ...attributes as |list|> | ||
{{#each @text as |item|}} | ||
<list.item>{{item}}</list.item> | ||
{{/each}} | ||
</UkList> | ||
{{else}} | ||
<p class="cd-truncated" ...attributes> | ||
{{~this.displayedText~}} | ||
{{#if this.truncate}} | ||
<a href="" {{on "click" this.toggleExpand}}> | ||
{{~t (concat "caluma.distribution." (if this.expand "less" "more"))~}} | ||
</a> | ||
{{/if}} | ||
</p> | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters