Don't display num if it's None in the context title
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<div id="tab-content-{{ unique }}">
|
||||
<div class="is-active" data-content="1">
|
||||
<h4 class="subtitle is-4">Scrollback of {{ channel }} on {{ net }}{{ num }}</h4>
|
||||
<h4 class="subtitle is-4">Scrollback of {{ channel }} on {{ net }}{% if num is not None %}{{ num }}{% endif %}</h4>
|
||||
{% include 'partials/context_table.html' %}
|
||||
{% if user.is_superuser and source == 'irc' %}
|
||||
<form method="PUT">
|
||||
|
||||
Reference in New Issue
Block a user