Skip to content
Snippets Groups Projects
Unverified Commit edfb153b authored by Andreas Hubel's avatar Andreas Hubel
Browse files

don't display the message button, if the speaker did not claim this profile

parent 2d1f6043
No related merge requests found
......@@ -47,7 +47,7 @@
{{ _("Get in Touch") }}
</dt>
<dd class="grid-list__item grid-list__item--text">
{% if display_user != user %}
{% if display_user != user and display_user.user_type != 'speaker' %}
<a
href="{{ url('plainui:personal_message_send_to', recipient=display_user.username) }}"
class="a mr-2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment