diff --git a/ckanext/odsh/public/odsh.css b/ckanext/odsh/public/odsh.css index a950af9f4c085363d9ce4e6f53fbfb87a1252015..f157229e9f4da973bf04fec119010b37213cc910 100644 --- a/ckanext/odsh/public/odsh.css +++ b/ckanext/odsh/public/odsh.css @@ -1919,4 +1919,26 @@ p.package-info-categorie .search-form a { color: #003064; +} + +.error-title +{ + color: #003064; + font-size: 40px; + margin-left: 10px; +} + +.error-body +{ + color: black; + font-size: 18px; +} +.error-body h3 +{ + font-size: 18px; + font-weight: 600; +} + +.error-body a{ + color: #003064; } \ No newline at end of file diff --git a/ckanext/odsh/templates/error_document_template.html b/ckanext/odsh/templates/error_document_template.html new file mode 100644 index 0000000000000000000000000000000000000000..724f3d3b2d82674c20d18ab1ec38538ae435b27e --- /dev/null +++ b/ckanext/odsh/templates/error_document_template.html @@ -0,0 +1,34 @@ +{% extends "page.html" %} + +{% block subtitle %}{{ gettext('Error %(error_code)s', error_code=c.code[0]) }}{% endblock %} + +{% block primary %} + <article class="module"> + <div class="module-content error-page"> + <div class="error-title"> + HTTP Status {{ c.code[0]}} + {%if c.code[0]=='404'%} + <div class="error-body"><h2>Seite nicht gefunden</h2> + <h3>Wie finde ich die gesuchten Inhalte im Landesportal?</h3> + + <p><a class="" href="http://www.schleswig-holstein.de/odpstart" title="Zur Startseite">Zur Startseite des Open-Data-Portals</a></p> + + <h3>Kontakt</h3> + <p>Bei Fragen oder Problemen mit dem Open-Data-Portal schicken Sie bitte eine E-Mail an die Adresse opendata@lr.landsh.de oder verwenden das Kontaktformular:</p> + <p><a class="" href="https://www.schleswig-holstein.de/odpkontakt" title="Kontakt">Zum Kontaktformular</a></p> + </div> + {% endif %} + </div> + </div> + </article> +{% endblock %} + +{% block breadcrumb %} +{% endblock %} + +{% block flash %} + {# eat the flash messages caused by the 404 #} + {% set flash_messages = h.flash.pop_messages() %} +{% endblock %} + +{% block secondary %}{% endblock %}