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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-1 / +2 lines)
Lines 1793-1799 i { Link Here
1793
    }
1793
    }
1794
}
1794
}
1795
1795
1796
.alert {
1796
.alert,
1797
.error {
1797
    background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
1798
    background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
1798
    border: 1px solid #E0C726;
1799
    border: 1px solid #E0C726;
1799
    color: inherit;
1800
    color: inherit;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt (-12 / +15 lines)
Lines 70-85 a.add, a.delete { Link Here
70
    [% END %]
70
    [% END %]
71
71
72
    <h1>Search engine configuration (Elasticsearch)</h1>
72
    <h1>Search engine configuration (Elasticsearch)</h1>
73
    <div class="dialog message">
74
        Warning: Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
75
73
76
        <p>Weight: define weight as a positive number. Higher numbers indicate increased relevancy.
77
        <strong>Note that fields weighting works only for simple search.</strong></p>
78
        <ol>
79
          <li>only search fields mapped with biblios can be weighted</li>
80
          <li>search will boost/increase weighted field(s) relevancy</li>
81
        </ol>
82
    </div>
83
    [% IF errors %]
74
    [% IF errors %]
84
        <div class="dialog alert">
75
        <div class="dialog alert">
85
        Changes have not been applied. Please check the following values:
76
        Changes have not been applied. Please check the following values:
Lines 104-115 a.add, a.delete { Link Here
104
                <input type="hidden" name="op" value="reset_confirmed" />
95
                <input type="hidden" name="op" value="reset_confirmed" />
105
                <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, reset mappings</button>
96
                <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, reset mappings</button>
106
            </form>
97
            </form>
107
            <br>
98
108
            <form method="post">
99
            <form method="post">
109
                <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not reset mappings</button>
100
                <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not reset mappings</button>
110
            </form>
101
            </form>
111
        </div>
102
        </div>
112
    [% END %]
103
    [% END %]
104
105
    <div class="note">
106
        <i class="fa fa-exclamation"></i>
107
        <strong>Warning:</strong> Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
108
109
        <p><strong>Weight:</strong> define weight as a positive number. Higher numbers indicate increased relevancy.
110
        <strong>Note that fields weighting works only for simple search.</strong></p>
111
        <ol>
112
          <li>Only search fields mapped with biblios can be weighted</li>
113
          <li>Search will boost/increase weighted field(s) relevancy</li>
114
        </ol>
115
    </div>
116
113
    <form method="post">
117
    <form method="post">
114
        <div id="tabs" class="toptabs ui-tabs" style="clear:both">
118
        <div id="tabs" class="toptabs ui-tabs" style="clear:both">
115
            <ul>
119
            <ul>
Lines 460-466 a.add, a.delete { Link Here
460
        </div>
464
        </div>
461
        <fieldset class="action">
465
        <fieldset class="action">
462
            <button class="btn btn-default" type="submit" name="op" value="edit"><i class="fa fa-hdd-o" aria-hidden="true"></i> Save</button>
466
            <button class="btn btn-default" type="submit" name="op" value="edit"><i class="fa fa-hdd-o" aria-hidden="true"></i> Save</button>
463
            <button class="btn btn-default" type="submit" name="op" value="reset_confirm"><i class="fa fa-refresh" aria-hidden="true"></i> Reset Mappings</button>
467
            <button class="btn btn-default" type="submit" name="op" value="reset_confirm"><i class="fa fa-refresh" aria-hidden="true"></i> Reset mappings</button>
464
        </fieldset>
468
        </fieldset>
465
    </form>
469
    </form>
466
470
467
- 

Return to bug 27695