appstore: misc 'title' attribute for buttons / icons
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
loading="lazy"
|
||||
class="h-12 w-12 rounded-lg object-cover shadow-sm mt-1"
|
||||
/>
|
||||
<h2 class="flex-auto basis-1/4 pl-2 pt-3 text-3xl font-bold text-gray-900">{{ infos["manifest"]["name"] }}</h2>
|
||||
<h2 class="flex-0 pl-2 pt-3 text-3xl font-bold text-gray-900">{{ infos["manifest"]["name"] }}</h2>
|
||||
{% if infos['category'] %}
|
||||
<span class="ml-2 mb-1 rounded-full px-2.5 py-0.5 text-[10px] border text-{{ catalog['categories'][infos['category']]['color'] }}-500 border-{{ catalog['categories'][infos['category']]['color'] }}-400 ">
|
||||
{{ catalog['categories'][infos['category']]['title']|localize|lower }}
|
||||
@ -21,19 +21,15 @@
|
||||
|
||||
|
||||
<div class="h-9.5">
|
||||
|
||||
{% if infos['level'] == 0 %}
|
||||
<div class="py-2 px-3">
|
||||
<i class="text-md fa fa-exclamation-circle text-red-500" aria-hidden="true"></i>
|
||||
</div>
|
||||
{% elif infos['level']|int <= 4 %}
|
||||
<div class="py-2 px-3">
|
||||
<i class="text-md fa fa-exclamation-triangle text-orange-500" aria-hidden="true"></i>
|
||||
</div>
|
||||
{% if infos['level'] == "?" or infos["level"]|int <= 4 %}
|
||||
<i class="fa fa-exclamation-circle text-red-500 py-0.5"
|
||||
aria-hidden="true"
|
||||
title="{{ _('This app is currently flagged as broken because it failed our automatic tests.') }} {{ _('This is usually a temporary situation which requires packagers to fix something in the app.') }}"
|
||||
></i>
|
||||
{% elif infos['level'] == 8 %}
|
||||
<div class="py-2 px-3">
|
||||
<i class="text-md fa fa-diamond text-teal-500" aria-hidden="true"></i>
|
||||
</div>
|
||||
<i class="fa fa-diamond text-teal-500 py-0.5" aria-hidden="true"
|
||||
title="{{ _('This app has been good quality according to our automatic tests over at least one year.') }}"
|
||||
></i>
|
||||
{% endif %}
|
||||
|
||||
{% set this_app_stars = stars.get(app_id, {})|length %}
|
||||
|
Reference in New Issue
Block a user