aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-08-25 10:39:36 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-28 12:54:53 +0200
commitc8eb1012980a08a51d78da0c3955cc5ba6edf5ed (patch)
tree351eaf8f901a0e16c1564d9083fdead8f0b23f22 /src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja
parentedbb8286146920583087080809f6e904ca856cc9 (diff)
downloadhaketilo-hydrilla-c8eb1012980a08a51d78da0c3955cc5ba6edf5ed.tar.gz
haketilo-hydrilla-c8eb1012980a08a51d78da0c3955cc5ba6edf5ed.zip
[proxy] normalize whitespace in jinja templates
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja b/src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja
index e362fa9..e1a447f 100644
--- a/src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja
@@ -39,36 +39,36 @@ in a proprietary work, I am not going to enforce this in court.
<h4>
{% if version_display_infos|length > 0 %}
{% block version_list_heading %}
- {{ _('web_ui.packages.single.version_list_heading') }}
+ {{ _('web_ui.packages.single.version_list_heading') }}
{% endblock %}
{% endif %}
</h4>
<ul id="item_list">
- {%- for info in version_display_infos %}
- {%- set entry_classes = [] %}
+ {% for info in version_display_infos %}
+ {% set entry_classes = [] %}
{% if info.is_local %}
- {%- do entry_classes.append('version-entry-local') %}
- {%- endif %}
- {%- if info.is_orphan %}
- {%- do entry_classes.append('version-entry-orphan') %}
- {%- endif %}
+ {% do entry_classes.append('version-entry-local') %}
+ {% endif %}
+ {% if info.is_orphan %}
+ {% do entry_classes.append('version-entry-orphan') %}
+ {% endif %}
<li class="{{ entry_classes|join(' ') }}">
- {%-
+ {%
set href = url_for(
'.show_package_version',
mapping_version_id = info.ref.id
)
%}
- <a href="{{ href }}">
- <div>
- {{ versions.version_string(info.info.version) }}
- {%- if not info.is_local %}
- @
- {{ info.info.repo }}
- {%- endif %}
- </div>
- </a>
+ <a href="{{ href }}">
+ <div>
+ {{ versions.version_string(info.info.version) }}
+ {% if not info.is_local %}
+ @
+ {{ info.info.repo }}
+ {% endif %}
+ </div>
+ </a>
</li>
- {%- endfor %}
+ {% endfor %}
</ul>
{% endblock %}