diff --git a/apps/common/templates/generic_list_horizontal_subtemplate.html b/apps/common/templates/generic_list_horizontal_subtemplate.html index 5edd4f47fe..8b62536db7 100644 --- a/apps/common/templates/generic_list_horizontal_subtemplate.html +++ b/apps/common/templates/generic_list_horizontal_subtemplate.html @@ -59,95 +59,7 @@
| - {% endif %} - {% if not hide_object %} - | {% trans "Identifier" %} | - {% endif %} - - {% for column in extra_columns_preffixed %} -{{ column.name|capfirst }} | - {% endfor %} - - {% for column in object_list.0|get_model_list_columns %} -{{ column.name|capfirst }} | - {% endfor %} - - {% for column in extra_columns %} -{{ column.name|capfirst }} | - {% endfor %} - - {% if not hide_links %} -- {% endif %} - | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - {% endif %} - {% if not hide_object %} - {% if main_object %} - {% with object|object_property:main_object as object %} - | {% if not hide_link %}{{ object }}{% else %}{{ object }}{% endif %} | - {% endwith %} - {% else %} -{% if not hide_link %}{{ object }}{% else %}{{ object }}{% endif %} | - {% endif %} - {% endif %} - {% for column in extra_columns_preffixed %} - {% if column.keep_together %} -- {{ object|object_property:column.attribute|make_non_breakable }} - | - {% else %} -{{ object|object_property:column.attribute }} | - {% endif %} - {% endfor %} - {% if not hide_columns %} - {% for column in object|get_model_list_columns %} -{{ object|object_property:column.attribute }} | - {% endfor %} - {% endif %} - {% for column in extra_columns %} - {% if column.keep_together %} -- {{ object|object_property:column.attribute|make_non_breakable }} - | - {% else %} -{{ object|object_property:column.attribute }} | - {% endif %} - {% endfor %} - {% if not hide_links %} - {% if list_object_variable_name %} - {% copy_variable object as list_object_variable_name %} - {% copy_variable list_object_variable_name as "navigation_object_name" %} - {% endif %} -- {% if navigation_object_links %} - {% with navigation_object_links as overrided_object_links %} - {% object_navigation_template %} - {% endwith %} - {% else %} - {% object_navigation_template %} - {% endif %} - | - {% endif %} -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {% blocktrans with title|striptags as stripped_title %}There are no {{ stripped_title }}{% endblocktrans %} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||