Skip to content

Commit

Permalink
Merge branch 'hotfix/2.0.4' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Dec 29, 2023
2 parents b1d6974 + 1b762a6 commit 610bd16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/Templates/default/reference.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@
<tr>
<td class="single line">
{% if reference.url %}
<a href="{{ reference.url }}" target="_blank">{{ reference.name }}</a>
{% if reference.url matches '/^https?:\\/\\//' %}
{% set ref_url = reference.url %}
{% else %}
{% set ref_url = 'https://' ~ reference.url %}
{% endif %}
<a href="{{ ref_url }}" target="_blank">{{ reference.name }}</a>
{% else %}
{{ reference.name }}
{% endif %}
Expand Down

0 comments on commit 610bd16

Please sign in to comment.