46 lines
2.3 KiB
HTML
46 lines
2.3 KiB
HTML
|
|
{% if is_blank_row %}
|
|
<tr class="{{ model.FLAG_ROW_NEW }} {{ model.FLAG_DOG_COMMAND_LINK }}" {{ model.ATTR_ID_DOG_COMMAND_LINK }}>
|
|
<td class="{{ model.FLAG_DOG }}">
|
|
{% include 'components/dog/_preview_DDL_dog.html' %}
|
|
</td>
|
|
<td class="{{ model.FLAG_COMMAND_CATEGORY }}">
|
|
{% include 'components/dog/_preview_DDL_command_category.html' %}
|
|
</td>
|
|
<td class="{{ model.FLAG_COMMAND }}">
|
|
{% include 'components/dog/_preview_DDL_command.html' %}
|
|
</td>
|
|
<td class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION}}">
|
|
<textarea class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}" {{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }}></textarea>
|
|
</td>
|
|
<td class="{{ model.FLAG_NOTES}}">
|
|
<textarea class="{{ model.FLAG_NOTES }}" {{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }}></textarea>
|
|
</td>
|
|
{% set active = True %}
|
|
{% include 'components/dog/_td_active.html' %}
|
|
</tr>
|
|
{% else %}
|
|
<tr class="{{ model.FLAG_DOG_COMMAND_LINK }}" {{ model.ATTR_ID_DOG_COMMAND_LINK }}="{{ link.id_link }}">
|
|
{% set dog = link.dog %}
|
|
<td class="{{ model.FLAG_DOG }}">
|
|
{% include 'components/dog/_preview_DDL_dog.html' %}
|
|
</td>
|
|
{% set command_category = link.command.command_category %}
|
|
<td class="{{ model.FLAG_COMMAND_CATEGORY }}">
|
|
{% include 'components/dog/_preview_DDL_command_category.html' %}
|
|
</td>
|
|
{% set command = link.command %}
|
|
<td class="{{ model.FLAG_COMMAND }}">
|
|
{% include 'components/dog/_preview_DDL_command.html' %}
|
|
</td>
|
|
<td class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION}}">
|
|
<textarea class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}" {{ model.ATTR_VALUE_CURRENT }}="{{ link.hand_signal_description|escape }}" {{ model.ATTR_VALUE_PREVIOUS }}="{{ link.hand_signal_description|escape }}">{{ link.hand_signal_description }}</textarea>
|
|
</td>
|
|
<td class="{{ model.FLAG_NOTES}}">
|
|
<textarea class="{{ model.FLAG_NOTES }}" {{ model.ATTR_VALUE_CURRENT }}="{{ link.notes|escape }}" {{ model.ATTR_VALUE_PREVIOUS }}="{{ link.notes|escape }}">{{ link.notes }}</textarea>
|
|
</td>
|
|
{% set active = link.active %}
|
|
{% include 'components/dog/_td_active.html' %}
|
|
</tr>
|
|
{% endif %}
|