58 lines
2.8 KiB
HTML
58 lines
2.8 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 }}">
|
|
<input type="text"
|
|
class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}"
|
|
{{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
|
|
</td>
|
|
<td class="{{ model.FLAG_NOTES }}">
|
|
<input type="text"
|
|
class="{{ model.FLAG_NOTES }}"
|
|
{{ model.ATTR_VALUE_CURRENT }} {{ model.ATTR_VALUE_PREVIOUS }} />
|
|
</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 }}">
|
|
<input type="text"
|
|
class="{{ model.FLAG_HAND_SIGNAL_DESCRIPTION }}"
|
|
{{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(link.hand_signal_description)|escape }}"
|
|
{{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(link.hand_signal_description)|escape }}"
|
|
value="{{ model.format_null_string_as_blank(link.hand_signal_description) }}" />
|
|
</td>
|
|
<td class="{{ model.FLAG_NOTES }}">
|
|
<input type="text"
|
|
class="{{ model.FLAG_NOTES }}"
|
|
{{ model.ATTR_VALUE_CURRENT }}="{{ model.format_null_string_as_blank(link.notes)|escape }}"
|
|
{{ model.ATTR_VALUE_PREVIOUS }}="{{ model.format_null_string_as_blank(link.notes)|escape }}"
|
|
value="{{ model.format_null_string_as_blank(link.notes) }}" />
|
|
</td>
|
|
{% set active = link.active %}
|
|
{% include 'components/dog/_td_active.html' %}
|
|
</tr>
|
|
{% endif %}
|