mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[mod] Change no results error message based on page number
This commit is contained in:
		
							parent
							
								
									b4de72a96f
								
							
						
					
					
						commit
						2179a418c4
					
				
					 1 changed files with 16 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,21 @@
 | 
			
		|||
{% from 'simple/icons.html' import icon_big %}
 | 
			
		||||
<div class="dialog-error-block" role="alert">
 | 
			
		||||
  <p><strong>{{ _('Sorry!') }}</strong></p>
 | 
			
		||||
  <p>{{ _("No results were found. You can try to:") }}</p>
 | 
			
		||||
  <p>
 | 
			
		||||
    <strong>
 | 
			
		||||
      {%- if pageno == 1 -%}
 | 
			
		||||
        {{ _('Sorry!') }}
 | 
			
		||||
      {%- else -%}
 | 
			
		||||
        {{ _("Oops!") }}
 | 
			
		||||
      {%- endif -%}
 | 
			
		||||
    </strong>
 | 
			
		||||
  </p>
 | 
			
		||||
  <p>
 | 
			
		||||
    {%- if pageno == 1 -%}
 | 
			
		||||
      {{ _("No results were found. You can try to:") }}
 | 
			
		||||
    {%- else -%}
 | 
			
		||||
      {{ _("Looks like there isn't any more results. You can try to:") }}
 | 
			
		||||
    {%- endif -%}
 | 
			
		||||
  </p>
 | 
			
		||||
  <ul>
 | 
			
		||||
    <li>{{ _("Refresh the page.") }}</li>
 | 
			
		||||
    <li>{{ _("Search for another query or select another category (above).") }}</li>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue