mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Got rid of static/templates/no_search_result.html
The "Fulltext search unavailable" error page is now generated using the static/templates/error.html template. Also added two test cases checking that error page.
This commit is contained in:
committed by
Matthieu Gautier
parent
dbcbdff275
commit
ae1bf39023
@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta content="text/html;charset=UTF-8" http-equiv="content-type" />
|
||||
<title>Fulltext search unavailable</title>
|
||||
<link type="text/css" href="{{root}}/skin/search_results.css" rel="Stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">Not found</div>
|
||||
<p>
|
||||
There is no article with the title <b> "{{pattern}}"</b>
|
||||
and the fulltext search engine is not available for this content.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user