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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-7 lines)
Lines 877-889 fieldset.rows .inputnote { Link Here
877
       color: #cc0000;
877
       color: #cc0000;
878
}
878
}
879
879
880
div.error {
881
	border : 2px dashed #990000;
882
	background-color : #FFFF99;
883
	padding : .5em;
884
	margin : 1em;
885
}
886
887
input.alert {
880
input.alert {
888
	background-color : #FFFF99;
881
	background-color : #FFFF99;
889
	border-color: #900;
882
	border-color: #900;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-7 / +6 lines)
Lines 53-61 $(document).ready(function() { Link Here
53
53
54
[% IF error_claim %]
54
[% IF error_claim %]
55
    [% IF ( error_claim == "no_email" ) %]
55
    [% IF ( error_claim == "no_email" ) %]
56
        <div class="error">This vendor has no email</div>
56
        <div class="dialog alert">This vendor has no email</div>
57
    [% ELSE %]
57
    [% ELSE %]
58
        <div class="error">[% error_claim %]</div>
58
        <div class="dialog alert">[% error_claim %]</div>
59
    [% END %]
59
    [% END %]
60
[% END %]
60
[% END %]
61
[% IF info_claim %]
61
[% IF info_claim %]
Lines 138-144 $(document).ready(function() { Link Here
138
                    <input type="checkbox" class="checkbox" name="claim_for" value="[% lateorder.ordernumber %]"  booksellerid="[% lateorder.supplierid %]"/>
138
                    <input type="checkbox" class="checkbox" name="claim_for" value="[% lateorder.ordernumber %]"  booksellerid="[% lateorder.supplierid %]"/>
139
                [% END %]
139
                [% END %]
140
             </td>
140
             </td>
141
            </td>
142
        </tr>
141
        </tr>
143
        [% END %]
142
        [% END %]
144
    </tbody>
143
    </tbody>
Lines 153-159 $(document).ready(function() { Link Here
153
            <th>&nbsp;</th>
152
            <th>&nbsp;</th>
154
            <th>&nbsp;</th>
153
            <th>&nbsp;</th>
155
            <td>
154
            <td>
156
                <input type="submit" value="Claim Order" />
155
                <input type="submit" value="Claim order" />
157
            </td>
156
            </td>
158
        </tr>
157
        </tr>
159
    </tfoot>
158
    </tfoot>
Lines 167-173 $(document).ready(function() { Link Here
167
<div class="yui-b">
166
<div class="yui-b">
168
<form action="lateorders.pl" method="get">
167
<form action="lateorders.pl" method="get">
169
<fieldset class="brief">
168
<fieldset class="brief">
170
<h4>Filter Results:</h4>
169
<h4>Filter results:</h4>
171
[% FOREACH ERROR_LOO IN ERROR_LOOP %]
170
[% FOREACH ERROR_LOO IN ERROR_LOOP %]
172
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay %]) must be a number between 0 and 999.</p>[% END %]
171
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay %]) must be a number between 0 and 999.</p>[% END %]
173
[% END %]
172
[% END %]
Lines 183-190 $(document).ready(function() { Link Here
183
    </li>
182
    </li>
184
183
185
	<li><label for="booksellerid">Vendor:</label>
184
	<li><label for="booksellerid">Vendor:</label>
186
		<select id="booksellerid" size="1" tabindex="" name="booksellerid">
185
        <select id="booksellerid" size="1" name="booksellerid">
187
			<option value=""/>
186
            <option value=""></option>
188
			[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
187
			[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
189
                [% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option>
188
                [% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option>
190
                [% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %]
189
                [% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-2 lines)
Lines 171-178 $(document).ready(function() Link Here
171
    [% END %]
171
    [% END %]
172
</h2>
172
</h2>
173
173
174
<div class="error" style="display:none"></div>
175
176
[% IF ( basketno ) %]
174
[% IF ( basketno ) %]
177
    <div id="acqui_basket_summary"  class="yui-g">
175
    <div id="acqui_basket_summary"  class="yui-g">
178
    <fieldset class="rows">
176
    <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-1 lines)
Lines 142-148 Link Here
142
    <form action="/cgi-bin/koha/acqui/finishreceive.pl" method="post" onsubmit="return Check(this);">
142
    <form action="/cgi-bin/koha/acqui/finishreceive.pl" method="post" onsubmit="return Check(this);">
143
<div class="yui-g">
143
<div class="yui-g">
144
<div class="yui-u first">
144
<div class="yui-u first">
145
    <div class="error" style="display:none"></div>
146
145
147
    <fieldset class="rows">
146
    <fieldset class="rows">
148
    <legend>Catalog details</legend>
147
    <legend>Catalog details</legend>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-1 / +1 lines)
Lines 144-150 Link Here
144
    [% END %]
144
    [% END %]
145
145
146
    [% IF (error_cancelling_receipt) %]
146
    [% IF (error_cancelling_receipt) %]
147
      <div class="error">
147
      <div class="dialog alert">
148
      Cannot cancel receipt. Possible reasons :
148
      Cannot cancel receipt. Possible reasons :
149
      <ul>
149
      <ul>
150
        <li>
150
        <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt (-1 / +1 lines)
Lines 219-225 Link Here
219
[% UNLESS ( delete_confirm ) %][% INCLUDE 'budgets-admin-toolbar.inc' %][% END %]
219
[% UNLESS ( delete_confirm ) %][% INCLUDE 'budgets-admin-toolbar.inc' %][% END %]
220
220
221
[% IF (error_not_authorised_to_modify) %]
221
[% IF (error_not_authorised_to_modify) %]
222
    <div class="error">
222
    <div class="dialog alert">
223
        <p>You are not authorized to modify this fund</p>
223
        <p>You are not authorized to modify this fund</p>
224
    </div>
224
    </div>
225
[% END %]
225
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt (-1 / +1 lines)
Lines 76-82 Link Here
76
        Warning: Any modification in these configurations will need a total reindexation to be fully taken into account !
76
        Warning: Any modification in these configurations will need a total reindexation to be fully taken into account !
77
    </div>
77
    </div>
78
    [% IF ( errors ) %]
78
    [% IF ( errors ) %]
79
        <div class="error">
79
        <div class="dialog alert">
80
        Errors occurred, Modifications does not apply. Please check following values:
80
        Errors occurred, Modifications does not apply. Please check following values:
81
          <ul>
81
          <ul>
82
            [% FOREACH e IN errors %]
82
            [% FOREACH e IN errors %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt (-1 / +1 lines)
Lines 28-34 Link Here
28
  <p class="tip">Please create the database before continuing.</p>
28
  <p class="tip">Please create the database before continuing.</p>
29
      [% END %]
29
      [% END %]
30
   [% ELSE %]
30
   [% ELSE %]
31
    <div class="error">[% error %] : [% message %]
31
    <div class="dialog alert">[% error %] : [% message %]
32
    </div>
32
    </div>
33
    <div class="tip">
33
    <div class="tip">
34
      <ul>
34
      <ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-2 / +2 lines)
Lines 105-113 Link Here
105
105
106
    [% IF error_alert %]
106
    [% IF error_alert %]
107
        [% IF ( error_alert == "no_email" ) %]
107
        [% IF ( error_alert == "no_email" ) %]
108
            <div class="error">This member has no email</div>
108
            <div class="dialog alert">This patron has no email</div>
109
        [% ELSE %]
109
        [% ELSE %]
110
            <div class="error">[% error_alert %]</div>
110
            <div class="dialog alert">[% error_alert %]</div>
111
        [% END %]
111
        [% END %]
112
    [% END %]
112
    [% END %]
113
    [% IF info_alert %]
113
    [% IF info_alert %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-5 / +5 lines)
Lines 53-65 Link Here
53
                                    <td>
53
                                    <td>
54
                                        [% IF ( CAN_user_plugins_report ) %]
54
                                        [% IF ( CAN_user_plugins_report ) %]
55
                                            [% IF plugin.can('report') %]
55
                                            [% IF plugin.can('report') %]
56
                                                <p style="white-space:nowrap"><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class %]&method=report">Run report</a></p>
56
                                                <p style="white-space:nowrap"><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class %]&amp;method=report">Run report</a></p>
57
                                            [% END %]
57
                                            [% END %]
58
                                        [% END %]
58
                                        [% END %]
59
59
60
                                        [% IF ( CAN_user_plugins_tool ) %]
60
                                        [% IF ( CAN_user_plugins_tool ) %]
61
                                            [% IF plugin.can('tool') %]
61
                                            [% IF plugin.can('tool') %]
62
                                                <p style="white-space:nowrap"><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class %]&method=tool">Run tool</a></p>
62
                                                <p style="white-space:nowrap"><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class %]&amp;method=tool">Run tool</a></p>
63
                                            [% END %]
63
                                            [% END %]
64
                                        [% END %]
64
                                        [% END %]
65
                                    </td>
65
                                    </td>
Lines 67-77 Link Here
67
                                        [% plugin.metadata.description %]
67
                                        [% plugin.metadata.description %]
68
68
69
                                        [% IF ( plugin.metadata.minimum_version && koha_version < plugin.metadata.minimum_version ) %]
69
                                        [% IF ( plugin.metadata.minimum_version && koha_version < plugin.metadata.minimum_version ) %]
70
                                            <div class="error">Warning: This report was written for a newer version of Koha. Run at your own risk.</div>
70
                                            <span class="problem">Warning: This report was written for a newer version of Koha. Run at your own risk.</span>
71
                                        [% END %]
71
                                        [% END %]
72
72
73
                                        [% IF ( plugin.metadata.maximum_version && koha_version > plugin.metadata.maximum_version ) %]
73
                                        [% IF ( plugin.metadata.maximum_version && koha_version > plugin.metadata.maximum_version ) %]
74
                                            <div class="error">Warning: This report was written for an older version of Koha. Run at your own risk.</div>
74
                                            <span class="problem">Warning: This report was written for an older version of Koha. Run at your own risk.</span>
75
                                        [% END %]
75
                                        [% END %]
76
                                    </td>
76
                                    </td>
77
                                    <td>[% plugin.metadata.author %]</td>
77
                                    <td>[% plugin.metadata.author %]</td>
Lines 82-88 Link Here
82
                                    [% IF ( CAN_user_plugins_configure ) %]
82
                                    [% IF ( CAN_user_plugins_configure ) %]
83
                                        <td>
83
                                        <td>
84
                                            [% IF plugin.can('configure') %]
84
                                            [% IF plugin.can('configure') %]
85
                                                <a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class %]&method=configure">Configure</a>
85
                                                <a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class %]&amp;method=configure">Configure</a>
86
                                            [% END %]
86
                                            [% END %]
87
                                        </td>
87
                                        </td>
88
                                    [% END %]
88
                                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-2 / +1 lines)
Lines 116-122 $(document).ready(function(){ Link Here
116
    </tr>
116
    </tr>
117
      </thead>
117
      </thead>
118
      <tbody>
118
      <tbody>
119
            [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot Edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" /></td>[% END %][% ELSE %]<td>&nbsp;</td>[% END %]
119
            [% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber %]" id="row[% item_loo.itemnumber %]" checked="checked" /></td>[% END %][% ELSE %]<td>&nbsp;</td>[% END %]
120
                <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td>
120
                <td><label for="row[% item_loo.itemnumber %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber %]">[% item_loo.title %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author %][% END %]</label></td>
121
                [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field |html %]</td> 
121
                [% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field |html %]</td> 
122
        [% END %] </tr>
122
        [% END %] </tr>
123
- 

Return to bug 10442