mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
add option to hide default options
This commit is contained in:
parent
8c2c7178ea
commit
f85acb1783
4 changed files with 17 additions and 2 deletions
|
|
@ -28,6 +28,9 @@
|
|||
{{/if}}
|
||||
|
||||
{{#each question.items as |item itemid|}}
|
||||
{{#if item.hide}}
|
||||
<!-- Option Not Shown ({{item.title}}) -->
|
||||
{{else}}
|
||||
<div class="poll_item">
|
||||
<label for="item_{{item.poll_item_srl}}">
|
||||
{{#if question.isMultipleChoice}}
|
||||
|
|
@ -41,6 +44,7 @@
|
|||
<input type="button" value="x" title="{$lang->delete_poll_item}" onclick="deleteRxDefaultItem({{question.poll_srl}},{{question.poll_index_srl}},{{item.poll_item_srl}}); return false;" class="btn poll_item_delete" />
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{#if question.additem}}
|
||||
<div class="poll_item_add">
|
||||
|
|
@ -82,6 +86,9 @@
|
|||
{{#each questions as |question questionid|}}
|
||||
<div class="title">{{question.title}} ({{question.poll_count}})</div>
|
||||
{{#each question.items as |item itemid|}}
|
||||
{{#if item.hide}}
|
||||
<!-- Option Not Shown ({{item.title}}) -->
|
||||
{{else}}
|
||||
<div class="rx_poll_default_item">
|
||||
<div class="item_text">
|
||||
{{#if question.showMembers}}
|
||||
|
|
@ -100,6 +107,7 @@
|
|||
<div class="item_bar_text">{{item.poll_count}}</strong> ({{item.per}}%)</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@
|
|||
{{/if}}
|
||||
|
||||
{{#each question.items as |item itemid|}}
|
||||
{{#if item.hide}}
|
||||
<!-- Option Not Shown ({{item.title}}) -->
|
||||
{{else}}
|
||||
<div class="poll_item">
|
||||
<label for="item_{{item.poll_item_srl}}">
|
||||
{{#if question.isMultipleChoice}}
|
||||
|
|
@ -41,6 +44,7 @@
|
|||
<input type="button" value="x" title="{$lang->delete_poll_item}" onclick="deleteRxSmplItem({{question.poll_srl}},{{question.poll_index_srl}},{{item.poll_item_srl}}); return false;" class="btn poll_item_delete" />
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{#if question.additem}}
|
||||
<div class="poll_item_add">
|
||||
|
|
@ -82,6 +86,9 @@
|
|||
{{#each questions as |question questionid|}}
|
||||
<div class="title">{{question.title}} ({{question.poll_count}})</div>
|
||||
{{#each question.items as |item itemid|}}
|
||||
{{#if item.hide}}
|
||||
<!-- Option Not Shown ({{item.title}}) -->
|
||||
{{else}}
|
||||
<div class="rx_poll_smpl_item">
|
||||
<div class="item_text">
|
||||
{{#if question.showMembers}}
|
||||
|
|
@ -100,6 +107,7 @@
|
|||
<div class="item_bar_text">{{item.poll_count}}</strong> ({{item.per}}%)</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue