aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/packages/show_single.html.jinja
diff options
context:
space:
mode:
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 %}