forked from collective/collective.solr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
errors.pt
67 lines (56 loc) · 2.11 KB
/
errors.pt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:use-macro="context/main_template/macros/master"
i18n:domain="solr">
<body>
<div metal:fill-slot="main"
class="solr-error"
tal:define="info view/errorInfo; type info/type; value info/value">
<div tal:replace="structure provider:plone.abovecontenttitle" />
<h1 class="documentFirstHeading"
i18n:translate="heading_solr_error">
Solr Error
</h1>
<div tal:condition="python: type == 'socket.error'">
<tal:marker define="global handled python: True" />
<p>
<strong i18n:translate="description_solr_unreachable">
The Solr server is currently unreachable, so no results could be found.
</strong> <br />
<span i18n:translate="description_solr_unreachable_hint">
Please try again later or contact your system administration.
</span>
</p>
</div>
<div tal:condition="python: type == 'socket.timeout'">
<tal:marker define="global handled python: True" />
<p>
<strong i18n:translate="description_solr_timeout">
The request to the Solr server has timed out. No search results could be found.
</strong> <br />
<span i18n:translate="description_solr_unreachable_hint">
Please try again later or contact your system administration.
</span>
</p>
</div>
<div tal:condition="not:exists: handled">
<p>
<strong i18n:translate="description_solr_unknown error">
Unknown error while trying to search using Solr.
</strong>
<span i18n:translate="description_solr_unknown_error_hint">
Please contact your system administration.
</span>
</p>
</div>
<tal:comment replace="structure string:<!--" />
solr error info:
type: <span tal:replace="type" />
value: <span tal:replace="value" />
<tal:comment replace="structure string:-->" />
<div tal:replace="structure provider:plone.belowcontentbody" />
</div>
</body>
</html>