Skip to content

Commit

Permalink
- _resourcebase_info_panel is showing the tkeywords only if THESAURU…
Browse files Browse the repository at this point in the history
…S is enabled and adding commas between words
  • Loading branch information
afabiani committed Nov 4, 2019
1 parent 85439a4 commit e473fa7
Show file tree
Hide file tree
Showing 34 changed files with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions geonode/base/templates/base/_resourcebase_info_panel.html
Expand Up @@ -55,17 +55,20 @@
</a>
{% if not forloop.last %},{% endif %}
{% endfor %}
{% if resource.tkeywords.count > 0 %}
{% get_current_language as LANGUAGE_CODE %}
{% for keyword in resource.tkeywords.all %}
<a itemscope itemtype="http://schema.org/Text" href="{% url "search" %}?tkeywords__id__in={{ keyword.id }}">
{% for label in keyword.labels %}
{% if label.lang == LANGUAGE_CODE %}
{{ label }}
{% endif %}
{% endfor %}
</a>
{% endfor %}
{% if THESAURI_FILTERS %}
{% if resource.tkeywords.count > 0 %}
{% get_current_language as LANGUAGE_CODE %}
{% for keyword in resource.tkeywords.all %}
<a itemscope itemtype="http://schema.org/Text" href="{% url "search" %}?tkeywords__id__in={{ keyword.id }}">
{% for label in keyword.labels %}
{% if forloop.first %},{% endif %}
{% if label.lang == LANGUAGE_CODE %}
{{ label }}
{% endif %}
{% endfor %}
</a>
{% endfor %}
{% endif %}
{% endif %}
</dd>
{% endif %}
Expand Down
Binary file modified geonode/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/bg_BG/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/bg_BG/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/bn/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/de/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/el/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/el/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/es/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/fi/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/fr/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/it/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/ko/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/ko/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/nl_NL/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/nl_NL/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/no/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/no/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/pt_BR/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/ru/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/si/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/si/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/ta/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/ta/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/th/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/th/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified geonode/locale/zh/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified geonode/locale/zh/LC_MESSAGES/djangojs.mo
Binary file not shown.

0 comments on commit e473fa7

Please sign in to comment.