Files
django-maraudes/notes/templates/notes/table_inline.html
artus40 f8e618e08a changes display of notes in tables (headers on the side)
corrects code for 'notes' modules according to PEP8 guidelines
2017-12-27 12:42:40 +01:00

15 lines
418 B
HTML

<tr>
<th class="bg-{{bg_color}}">
{% if link %}
<a href="{{link}}"><strong>{{header}}</strong></a>
{% else %}
<strong>{{header}}</strong>
{% endif %} <small>{{small}}</small>
<br />
{% for label in labels %}
<span class="label label-{{bg_label_color}}">{{label}}</span><br />
{% endfor %}
</th>
<td style="background-color:#fff"><p>{{text | linebreaks }}</p></td>
</tr>