57 lines
No EOL
2.2 KiB
HTML
57 lines
No EOL
2.2 KiB
HTML
<div class="item cohort-block-wrapper" data-item-id="{{_id}}">
|
|
|
|
<div class="cohort-block">
|
|
<div class="label-stripe">
|
|
<div class="item-sheet-open">
|
|
{{#if (eq system.cohort "Gang")}}
|
|
Gang of {{#each system.gang_type as |gang_type key|}}{{gang_type}} {{/each}}
|
|
{{else if (eq system.cohort "Expert")}}
|
|
{{system.cohort}} {{system.expert_type}}
|
|
{{/if}}
|
|
<i class="fas fa-fw fa-edit"></i>
|
|
</div>
|
|
<div>Q:{{system.quality}} S:{{system.scale}}</div>
|
|
<a class="item-control item-delete" title="{{localize 'BITD.TitleDeleteItem'}}"><i class="fas fa-trash"></i></a>
|
|
<a class="item-control item-post" title="{{localize 'BITD.TitlePostItem'}}"><i class="fas fa-comment"></i></a>
|
|
</div>
|
|
<div class="cohort-body">
|
|
<div class="flex-horizontal">
|
|
<img src="{{img}}"/>
|
|
<div class="cohort-block-harm flex-horizontal">
|
|
{{#each system.harm_list as |harm harm_key|}}
|
|
{{#multiboxes ../system.harm}}
|
|
<input id="harm-{{harm_key}}-{{../_id}}" type="radio" name="harm.{{../_id}}" data-item="{{../_id}}" value="{{harm_key}}">
|
|
<label for="harm-{{harm_key}}-{{../_id}}">{{localize harm.label}}</label>
|
|
{{/multiboxes}}
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
|
|
{{#if (eq system.cohort "Gang")}}
|
|
{{#each system.gang_type as |gang_type key|}}
|
|
<div>
|
|
{{#with (lookup ../system.gang_type_list gang_type)}}{{localize description}} {{/with}}
|
|
</div>
|
|
{{/each}}
|
|
{{/if}}
|
|
|
|
<div class="flex-vertical">
|
|
<div class="flex-vertical">
|
|
{{#each system.edges_list as |edge key|}}
|
|
{{#if edge.selected }}
|
|
<div class="cohort-description">{{localize edge.description}} <b>({{localize edge.label}})</b></div>
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each system.flaws_list as |flaw key|}}
|
|
{{#if flaw.selected }}
|
|
<div class="cohort-description">{{localize flaw.description}} <b>({{localize flaw.label}})</b></div>
|
|
{{/if}}
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="description">{{localize system.description}}</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div> |