Don't display num if it's None in the context title
This commit is contained in:
parent
f26daa2cb4
commit
a9453b6459
|
@ -73,7 +73,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="tab-content-{{ unique }}">
|
<div id="tab-content-{{ unique }}">
|
||||||
<div class="is-active" data-content="1">
|
<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' %}
|
{% include 'partials/context_table.html' %}
|
||||||
{% if user.is_superuser and source == 'irc' %}
|
{% if user.is_superuser and source == 'irc' %}
|
||||||
<form method="PUT">
|
<form method="PUT">
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
value="{{ params.query }}"
|
value="{{ params.query }}"
|
||||||
class="input"
|
class="input"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="(science | tech | art) + (interest) -hello">
|
placeholder="Token search: (science | tech | art) + (interest) -hello">
|
||||||
<span class="icon is-small is-left">
|
<span class="icon is-small is-left">
|
||||||
<i class="fas fa-magnifying-glass"></i>
|
<i class="fas fa-magnifying-glass"></i>
|
||||||
</span>
|
</span>
|
||||||
|
@ -417,7 +417,7 @@
|
||||||
value="{{ params.query_full }}"
|
value="{{ params.query_full }}"
|
||||||
class="input"
|
class="input"
|
||||||
type="text"
|
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">
|
<span class="icon is-small is-left">
|
||||||
<i class="fas fa-magnifying-glass"></i>
|
<i class="fas fa-magnifying-glass"></i>
|
||||||
</span>
|
</span>
|
||||||
|
@ -433,7 +433,7 @@
|
||||||
class="input"
|
class="input"
|
||||||
type="tags"
|
type="tags"
|
||||||
name="tags"
|
name="tags"
|
||||||
placeholder="nick: john"
|
placeholder="Tag search: nick: john"
|
||||||
value="{{ params.tags }}">
|
value="{{ params.tags }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="is-hidden"></div>
|
<div class="is-hidden"></div>
|
||||||
|
|
Loading…
Reference in New Issue