Add subjects to notice + Background color two notice type + Remove empty notice fields
{{#if model}}
<i class="fa fa-close" {{action 'close'}}>Close</i>
{{/if}}
<h2>Notice</h2>
<h3>{{ item.title }}</h3>
<table>
<tr>
<td class="title">Editeur{{#if (if-operator item.publishers.length '>' 1)}}s{{/if}}</td>
<td>
<ul>
{{#each item.publishers as |publisher|}}
<li>{{ publisher }}</li>
{{/each}}
</ul>
</td>
</tr>
<tr>
<td class="title">Langue</td>
<td>{{ doc-language url=item.language class="language"}}</td>
</tr>
<tr>
<td class="title">Sujet{{#if (if-operator item.computedSubjects.length '>' 1)}}s{{/if}}</td>
<td>
<ul>
{{#each item.computedSubjects as |subject|}}
<li>
{{#if subject.url}}
<a href="{{subject.url}}" target="_blank">
{{#if subject.name}}{{subject.name}}{{else}}{{component (getLinkType subject.url) url=subject.url}}{{/if}}
</a>
{{else}}
{{subject.name}}
{{/if}}
</li>
{{/each}}
</ul>
</td>
</tr>
<tr>
<td class="title">Enregistré en</td>
<td>{{ short-date item.issued }}</td>
</tr>
<tr>
<td class="title">Participant{{#if (if-operator participants.length '>' 1)}}s{{/if}}</td>
<td>
<ul>
{{#each participants as |participant|}}
<li>{{ participant.name }} ({{ participant.role }})</li>
{{/each}}
</ul>
</td>
</tr>
<tr>
<td class="title">Lieu</td>
<td>{{ location }}</td>
</tr>
<tr>
<td class="title">Durée</td>
<td>{{to-minutes item.duration}}</td>
</tr>
</table>