Refactor campaign name handling to use clean_name property for improved clarity and consistency across templates
This commit is contained in:
parent
08da2cf7da
commit
3fb0880271
5 changed files with 32 additions and 8 deletions
|
|
@ -79,7 +79,7 @@
|
|||
alt="{{ campaign.name }}">
|
||||
{% endif %}
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ campaign.name }}</h5>
|
||||
<h5 class="card-title">{{ campaign.clean_name }}</h5>
|
||||
<h6 class="card-subtitle mb-2 text-muted">{{ campaign.game.display_name }}
|
||||
</h6>
|
||||
<p class="card-text small">{{ campaign.description|truncatewords:20 }}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue