diff --git a/templates/helper.twig b/templates/helper.twig index 8a6215e8..dbcff331 100644 --- a/templates/helper.twig +++ b/templates/helper.twig @@ -10,15 +10,15 @@ {% set disabled = attachment.secure and not is_granted("show_secure", attachment) %} {% if not attachment_helper or attachment_helper.fileExisting(attachment) %} {% if link and not disabled %} - + + {% endif %} + {% if attachment.picture %} + + {% else %} + {% endif %} - {% if attachment.picture %} - - {% else %} - - {% endif %} {% if link and not disabled %} - + {% endif %} {% elseif not attachment_helper.fileExisting(attachment) %} @@ -72,19 +72,19 @@ {% endmacro %} {% macro breadcrumb_entity_link(entity, link_type = "list_parts") %} - + {% endmacro %} {% macro bool_icon(bool) %} @@ -119,20 +119,20 @@ {% endmacro %} {% macro parameters_table(parameters) %} - - - - - - - - - {% for param in parameters %} +
{% trans %}specifications.property{% endtrans %}{% trans %}specifications.value{% endtrans %}
+ - - + + - {% endfor %} - -
{{ param.name }} {% if param.symbol is not empty %}${{ param.symbol }}${% endif %}{{ param.formattedValue }}{% trans %}specifications.property{% endtrans %}{% trans %}specifications.value{% endtrans %}
+ + + {% for param in parameters %} + + {{ param.name }} {% if param.symbol is not empty %}${{ param.symbol }}${% endif %} + {{ param.formattedValue }} + + {% endfor %} + + {% endmacro parameters_table %} \ No newline at end of file diff --git a/templates/homepage.html.twig b/templates/homepage.html.twig index 4dc377ed..dcc7ebbe 100644 --- a/templates/homepage.html.twig +++ b/templates/homepage.html.twig @@ -1,7 +1,7 @@ {% extends "base.html.twig" %} {% block content %} -
+

{{ partdb_title }}

{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}