16 lines
563 B
Handlebars
16 lines
563 B
Handlebars
{{#if @model.rootRow}}
|
|
<tr {{on "click" (fn this.select @model)}} ...attributes>
|
|
<td rowspan="{{@rowspan}}">{{@model.ulb}}</td>
|
|
<td class="{{this.selected}}">{{@model.greek}}</td>
|
|
<td class="{{this.selected}}"><Words::Morphology @morph="{{@model.morph}}" /></td>
|
|
</tr>
|
|
{{else}}
|
|
<tr {{on "click" (fn this.select @model)}} class="{{this.selected}}" ...attributes>
|
|
{{#if this.isNotPhrasePartial}}
|
|
<td>{{this.ulb}}</td>
|
|
{{/if}}
|
|
<td>{{@model.greek}}</td>
|
|
<td><Words::Morphology @morph="{{@model.morph}}" /></td>
|
|
</tr>
|
|
{{/if}}
|