Skip to content

Commit

Permalink
templates/project_module_tile: truncating title so tiles don't look w…
Browse files Browse the repository at this point in the history
…eird, fixes #349
  • Loading branch information
Phillippa committed Feb 27, 2020
1 parent d187b8a commit fa3efa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a href="{{ module.get_absolute_url }}">
<div class="participation-tile__type">
<div class="participation-tile__content">
<h3 class="participation-tile__title">{{ module.name }}</h3>
<h3 class="participation-tile__title">{{ module.name|truncatechars:100 }}</h3>
<span class="participation-tile__item-count">
<i class="fas fa-comments" aria-hidden="true"></i>
{% get_num_entries module as num_entries %}
Expand Down

0 comments on commit fa3efa5

Please sign in to comment.