Don't display num if it's None in the context title

master
Mark Veidemanis 2 years ago
parent f26daa2cb4
commit a9453b6459
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -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">

@ -17,7 +17,7 @@
value="{{ params.query }}"
class="input"
type="text"
placeholder="(science | tech | art) + (interest) -hello">
placeholder="Token search: (science | tech | art) + (interest) -hello">
<span class="icon is-small is-left">
<i class="fas fa-magnifying-glass"></i>
</span>
@ -417,7 +417,7 @@
value="{{ params.query_full }}"
class="input"
type="text"
placeholder="msg: science AND src: 4ch AND channel: 100293">
placeholder="Full query: msg: science AND src: 4ch AND channel: 100293">
<span class="icon is-small is-left">
<i class="fas fa-magnifying-glass"></i>
</span>
@ -433,7 +433,7 @@
class="input"
type="tags"
name="tags"
placeholder="nick: john"
placeholder="Tag search: nick: john"
value="{{ params.tags }}">
</div>
<div class="is-hidden"></div>

Loading…
Cancel
Save