View | Details | Raw Unified | Return to bug 18829
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1749-1755 Note that permanent location is a code, and location may be an authval. Link Here
1749
                var pageElastic = $(this).attr("href");
1749
                var pageElastic = $(this).attr("href");
1750
                $("#elasticPreview .modal-body").load(pageElastic, function( response, status, xhr ) {
1750
                $("#elasticPreview .modal-body").load(pageElastic, function( response, status, xhr ) {
1751
                    if( status == 'error' ){
1751
                    if( status == 'error' ){
1752
                        $("#elasticPreview .modal-body").html('<h1>An error has occurred!</h1><h2><em>Error 404</em></h2><li>An internal link in the client is broken and the page does not exist</li></ul><h3>What\'s next?</h3><ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;"><li>Use top menu bar to navigate to another part of Koha.</li><li>To report a broken link or any other issue, please contact the Koha administrator. <a href="mailto:[% Koha.Preference('KohaAdminEmailAddress') | uri %]">Send email</a></li></ul>');
1752
                        $("#elasticPreview .modal-body").html("<h1>"+_("An error has occurred!")+"</h1><h2><em>"+_("Error 404")+"</em></h2><ul><li>"+_("An internal link in the staff interface is broken and the page does not exist")+"</li></ul><h3>"+_("What's next?")+"</h3><ul style='margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;'><li>"+_("Use top menu bar to navigate to another part of Koha.")+"</li><li>"+_("To report a broken link or any other issue, please contact the Koha administrator.")+" <a href='mailto:[% Koha.Preference("KohaAdminEmailAddress") | uri %]'>"+_("Send email")+"</a></li></ul>");
1753
                    }
1753
                    }
1754
                });
1754
                });
1755
                $('#elasticPreview').modal({show:true});
1755
                $('#elasticPreview').modal({show:true});
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showelastic.tt (-3 / +2 lines)
Lines 1-6 Link Here
1
❤[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% USE raw %]
2
[% USE raw %]
3
<title>Koha &rsaquo; Catalog &rsaquo; Elasticsearch record</title>
3
<title>Elasticsearch record &rsaquo; Catalog &rsaquo; Koha</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
</head>
5
</head>
6
<body id="catalog_showelastic" class="catalog">
6
<body id="catalog_showelastic" class="catalog">
7
- 

Return to bug 18829