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 1801-1807 i { Link Here
1801
    }
1801
    }
1802
}
1802
}
1803
1803
1804
.alert {
1804
.alert,
1805
.error {
1805
    background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
1806
    background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
1806
    border: 1px solid #E0C726;
1807
    border: 1px solid #E0C726;
1807
    color: inherit;
1808
    color: inherit;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt (-12 / +15 lines)
Lines 56-71 a.add, a.delete { Link Here
56
    [% END %]
56
    [% END %]
57
57
58
    <h1>Search engine configuration (Elasticsearch)</h1>
58
    <h1>Search engine configuration (Elasticsearch)</h1>
59
    <div class="dialog message">
60
        Warning: Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
61
59
62
        <p>Weight: define weight as a positive number. Higher numbers indicate increased relevancy.
63
        <strong>Note that fields weighting works only for simple search.</strong></p>
64
        <ol>
65
          <li>only search fields mapped with biblios can be weighted</li>
66
          <li>search will boost/increase weighted field(s) relevancy</li>
67
        </ol>
68
    </div>
69
    [% IF errors %]
60
    [% IF errors %]
70
        <div class="dialog alert">
61
        <div class="dialog alert">
71
        Changes have not been applied. Please check the following values:
62
        Changes have not been applied. Please check the following values:
Lines 90-101 a.add, a.delete { Link Here
90
                <input type="hidden" name="op" value="reset_confirmed" />
81
                <input type="hidden" name="op" value="reset_confirmed" />
91
                <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, reset mappings</button>
82
                <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, reset mappings</button>
92
            </form>
83
            </form>
93
            <br>
84
94
            <form method="post">
85
            <form method="post">
95
                <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not reset mappings</button>
86
                <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not reset mappings</button>
96
            </form>
87
            </form>
97
        </div>
88
        </div>
98
    [% END %]
89
    [% END %]
90
91
    <div class="note">
92
        <i class="fa fa-exclamation"></i>
93
        <strong>Warning:</strong> Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
94
95
        <p><strong>Weight:</strong> define weight as a positive number. Higher numbers indicate increased relevancy.
96
        <strong>Note that fields weighting works only for simple search.</strong></p>
97
        <ol>
98
          <li>Only search fields mapped with biblios can be weighted</li>
99
          <li>Search will boost/increase weighted field(s) relevancy</li>
100
        </ol>
101
    </div>
102
99
    <form method="post">
103
    <form method="post">
100
        <div id="tabs" class="toptabs" style="clear:both">
104
        <div id="tabs" class="toptabs" style="clear:both">
101
            <ul>
105
            <ul>
Lines 450-456 a.add, a.delete { Link Here
450
        </div>
454
        </div>
451
        <p>
455
        <p>
452
            <button class="btn btn-default" type="submit" name="op" value="edit"><i class="fa fa-hdd-o" aria-hidden="true"></i> Save</button>
456
            <button class="btn btn-default" type="submit" name="op" value="edit"><i class="fa fa-hdd-o" aria-hidden="true"></i> Save</button>
453
            <button class="btn btn-default" type="submit" name="op" value="reset_confirm"><i class="fa fa-refresh" aria-hidden="true"></i> Reset Mappings</button>
457
            <button class="btn btn-default" type="submit" name="op" value="reset_confirm"><i class="fa fa-refresh" aria-hidden="true"></i> Reset mappings</button>
454
        </p>
458
        </p>
455
    </form>
459
    </form>
456
460
457
- 

Return to bug 27695