Fix assessment LnF
#CTCTOWALTZ-2580
<td class="force-wrap">
<ul class="list-inline">
{#each group.notProvided as row}
- {#if row.definition.isReadOnly}
<li class="force-wrap">
<span class="text-muted">
- <Icon name="lock"/>{row.definition.name}
- </span>
- </li>
- {:else}
- <li class="force-wrap">
- <button class="btn-link"
- on:click={() => selectAssessment(row)}>
+ {#if row.definition.isReadOnly}
+ <Icon name="lock"/>
+ {/if}
{row.definition.name}
- </button>
+ </span>
</li>
- {/if}
{/each}
</ul>
</td>
<Tooltip content={AssessmentDefinitionTooltipContent}
props={mkDefinitionTooltipProps(row)}>
<svelte:fragment slot="target">
+ {#if row.definition.isReadOnly}
<span>
- <Icon name={row.definition.isReadOnly ? "lock" : "fw"}/>
+ <Icon name="fw"/>
+ {row.definition.name}
+ </span>
+ {:else}
+ <span>
+ <Icon name="fw"/>
+ <button class="btn-skinny"
+ on:click={() => selectAssessment(row)}>
{row.definition.name}
+ </button>
</span>
+ {/if}
+
</svelte:fragment>
</Tooltip>
</td>
