Skip to content

Commit

Permalink
IBX-7689: Modified code to generate hyperlinks only for non-drafts (#329
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ViniTou authored Feb 6, 2024
1 parent 087ad78 commit 855d3fd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
{% else %}
{% if location is defined %}
<h3><a href="{{ ibexa_path(location) }}">{{ content_name }}</a></h3>
{% else %}
{% elseif content.contentInfo.mainLocationId is not null %}
<h3><a href="{{ ibexa_path(content) }}">{{ content_name }}</a></h3>
{% else %}
<h3>{{ content_name }}</h3>
{% endif %}
{% endif %}

0 comments on commit 855d3fd

Please sign in to comment.