Skip to content

Commit

Permalink
Check if author exists in plugin grid list
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Oct 3, 2024
1 parent 615ad8b commit 3731666
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions qgis-app/plugins/templates/plugins/plugin_list_grid_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@
</div>
<div class="media-content">
<p class="title is-5">{{ object.name }}</p>
<p class="subtitle is-7 author">{% trans "by" %}
<a title="{% trans "See all plugins by"%} {{ object.author }}" href="{% url "author_plugins" object.author %}">
{{ object.author }}
</a>
</p>
{% if object.author %}
<p class="subtitle is-7 author">{% trans "by" %}
<a title="{% trans "See all plugins by"%} {{ object.author }}" href="{% url "author_plugins" object.author %}">
{{ object.author }}
</a>
</p>
{% endif %}
</div>
</div>
<div class="content mb-0">
Expand Down

0 comments on commit 3731666

Please sign in to comment.