forked from rDrama/rDrama
fix
parent
1cfc8e494d
commit
886cf5f92f
|
@ -14,8 +14,8 @@
|
||||||
<h1 class="font-bold text-xl font-heading leading-normal">
|
<h1 class="font-bold text-xl font-heading leading-normal">
|
||||||
Search Results: "{{query}}"
|
Search Results: "{{query}}"
|
||||||
</h1>
|
</h1>
|
||||||
<div class="mt-1 flex space-x-3 divide-x divide-gray-400">
|
<div class="mt-1 flex space-x-3 divide-x divide-gray-400 text-sm">
|
||||||
<ul class="text-gray-700 text-xs flex items-center space-x-3 leading-normal">
|
<ul class="text-gray-700 flex items-center space-x-3 leading-normal">
|
||||||
<li>
|
<li>
|
||||||
<a class="{% if '/posts/' in request.path %}font-bold text-red-600{% endif %}" href="/search/posts/?sort={{sort}}&q={{query | urlencode}}&t={{t}}">
|
<a class="{% if '/posts/' in request.path %}font-bold text-red-600{% endif %}" href="/search/posts/?sort={{sort}}&q={{query | urlencode}}&t={{t}}">
|
||||||
Posts
|
Posts
|
||||||
|
@ -32,12 +32,12 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<small class="pl-3 block text-gray-500">
|
<div class="pl-3 block text-gray-500">
|
||||||
<strong>{{ total }}</strong>
|
<strong>{{ total }}</strong>
|
||||||
{{ sort }} result{{ '' if total == 1 else 's' }} matching
|
{{ sort }} result{{ '' if total == 1 else 's' }} matching
|
||||||
<strong>"{{query}}"</strong> {{ 'from all time' if t=='all' else 'in the last' }}
|
<strong>"{{query}}"</strong> {{ 'from all time' if t=='all' else 'in the last' }}
|
||||||
{% if t != 'all' %}<span class="font-bold">{{ t }}</span>{% endif %}
|
{% if t != 'all' %}<span class="font-bold">{{ t }}</span>{% endif %}
|
||||||
</small>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if not '/users/' in request.path %}
|
{% if not '/users/' in request.path %}
|
||||||
|
|
Loading…
Reference in New Issue