Skip to content

Commit

Permalink
layer detail trans tags [FIXES GeoNode#6534]
Browse files Browse the repository at this point in the history
  • Loading branch information
gannebamm committed Oct 26, 2020
1 parent 2819ea6 commit f70f2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonode/base/templates/base/_resourcebase_info_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@

{% if resource.category %}
<dt>{% trans "Category" %}</dt>
<dd><a href="{% url "search" %}?category__identifier__in={{ resource.category.identifier }}">{{ resource.category }}</a> {% if resource.category.description %}<a href="#category-more" data-toggle="collapse" data-target=".category-more"><i class="fa fa-info-circle"></i></a>{% endif %}</dd>
<dd><a href="{% url "search" %}?category__identifier__in={{ resource.category.identifier }}">{% trans resource.category.gn_description %}</a> {% if resource.category.description %}<a href="#category-more" data-toggle="collapse" data-target=".category-more"><i class="fa fa-info-circle"></i></a>{% endif %}</dd>
{% if resource.category.description %}
<dd class="category-more collapse">
{{ resource.category.description }}
{% trans resource.category.description %}
</dd>
{% endif %}
{% endif %}
Expand Down

0 comments on commit f70f2f1

Please sign in to comment.