core: add automatic launch_url detection based on provider

This commit is contained in:
Jens Langhammer
2020-09-14 18:12:42 +02:00
parent ae6304c05e
commit 2c07859b68
5 changed files with 44 additions and 2 deletions

View File

@ -24,7 +24,7 @@
{% if applications %}
<div class="pf-l-gallery pf-m-gutter">
{% for app in applications %}
<a href="{{ app.meta_launch_url }}" class="pf-c-card pf-m-hoverable pf-m-compact">
<a href="{{ app.get_launch_url }}" class="pf-c-card pf-m-hoverable pf-m-compact">
<div class="pf-c-card__header">
{% if not app.meta_icon_url %}
<i class="pf-icon pf-icon-arrow"></i>