diff options
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/packages/index.html.jinja')
-rw-r--r-- | src/hydrilla/proxy/web_ui/templates/packages/index.html.jinja | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/packages/index.html.jinja b/src/hydrilla/proxy/web_ui/templates/packages/index.html.jinja index cbdd3d9..c59ed20 100644 --- a/src/hydrilla/proxy/web_ui/templates/packages/index.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/packages/index.html.jinja @@ -31,22 +31,22 @@ in a proprietary work, I am not going to enforce this in court. <ul id="item_list"> {% for info in display_infos %} <li class="{{ entry_classes }}"> - <a href="{{ url_for('.show_package', mapping_id=info.ref.id) }}"> - <div> - {{ info.identifier }} - </div> - {%- - if info.active_version is not none and - info.active_version.active == ActiveStatus.REQUIRED - %} - {%- set ver = info.active_version.info.version %} - {%- set ver_str = versions.version_string(ver) %} - {%- set ver_desc = ver_str + '@' + info.active_version.info.repo %} - <div class="small-print"> - {{ _('web_ui.packages.enabled_version_{}').format(ver_desc) }} - </div> - {% endif %} - </a> + <a href="{{ url_for('.show_package', mapping_id=info.ref.id) }}"> + <div> + {{ info.identifier }} + </div> + {% + if info.active_version is not none and + info.active_version.active == ActiveStatus.REQUIRED + %} + {% set ver = info.active_version.info.version %} + {% set ver_str = versions.version_string(ver) %} + {% set ver_desc = ver_str + '@' + info.active_version.info.repo %} + <div class="small-print"> + {{ _('web_ui.packages.enabled_version_{}').format(ver_desc) }} + </div> + {% endif %} + </a> </li> {% endfor %} </ul> |