Skip to content

Commit

Permalink
Merge pull request #679 from CTPUG/bugfix/fix_profile_display
Browse files Browse the repository at this point in the history
Add linebreaks to profile to match user profile view
  • Loading branch information
drnlm committed Sep 20, 2023
2 parents 72fd987 + 1c35d01 commit 0dbe10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wafer/talks/templates/wafer.talks/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1>
<p class="bio">
{% blocktrans trimmed %}Bio{% endblocktrans %}{% if object.authors.count > 1 %} - {{ author.userprofile.display_name }}{% endif %}:
{% if author.userprofile.bio %}
{{ author.userprofile.bio }}
{{ author.userprofile.bio|linebreaks }}
{% else %}
<em>{% blocktrans trimmed %}Not provided{% endblocktrans %}</em>
{% endif %}
Expand Down

0 comments on commit 0dbe10b

Please sign in to comment.