Skip to content

Commit

Permalink
add app description as tooltip (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdc50 authored Sep 29, 2024
1 parent 3fe482d commit 32b20eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tethys_apps/templates/tethys_apps/app_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="app-card-container position-relative" data-tags="{{ app|get_tag_class }}">
{% if not unconfigured %}
<a class="app-link-wrapper rounded d-block mt-4 {% if not app.show_in_apps_library or not app.enabled %} veiled{% endif %}"
title="{% if not app.show_in_apps_library %}Hidden{% elif not app.enabled %}Disabled{% else %}{{ app.name }}{% endif %}"
title="{% if not app.show_in_apps_library %}Hidden{% elif not app.enabled %}Disabled{% elif app.description %}{{ app.description }}{% else %}{{ app.name }}{% endif %}"
href="{% if app.proxied %}{{ app.url }}{% if app.back_url %}?back={{ app.back_url }}{% endif %}{% else %}{% url app.index_url %}{% endif %}"
{% if app.proxied and app.open_in_new_tab %}target="_blank"{% endif %}
>
Expand All @@ -20,7 +20,7 @@
<i class="bi bi-box-arrow-up-right"></i>
</div>
{% endif %}
<h5 class="card-title app-title mt-2 mb-0">{{ app.name }}</h5>
<h5 class="card-title app-title mt-2 mb-0" title="{{ app.name }}">{{ app.name }}</h5>
</div>
</div>
</a>
Expand Down

0 comments on commit 32b20eb

Please sign in to comment.