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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-15 / +27 lines)
Lines 130-139 $(document).ready(function() { calcNewsuggTotal(); }); Link Here
130
    <fieldset class="rows"> <legend>Suggestion management</legend>
130
    <fieldset class="rows"> <legend>Suggestion management</legend>
131
       <ol>
131
       <ol>
132
            [% IF ( suggestionid ) %]<li><label for="status">Status:</label><select id="STATUS" name="STATUS"><option value="">No Status</option>
132
            [% IF ( suggestionid ) %]<li><label for="status">Status:</label><select id="STATUS" name="STATUS"><option value="">No Status</option>
133
                <option value="ASKED"[% IF ( statusselected_ASKED ) %] selected="selected"[% END %]>Asked</option>
133
                [% IF (statusselected_ASKED ) %]<option value="ASKED" selected="selected">Asked</option> 
134
                <option value="ACCEPTED"[% IF ( statusselected_ACCEPTED ) %] selected="selected"[% END %]>Accepted</option>
134
                [% ELSE %]<option value="ASKED">Asked</option>[% END %]
135
                <option value="CHECKED"[% IF ( statusselected_CHECKED ) %] selected="selected"[% END %]>Checked</option>
135
                [% IF (statusselected_ACCEPTED ) %]<option value="ACCEPTED" selected="selected">Accepted</option>
136
                <option value="REJECTED"[% IF ( statusselected_REJECTED ) %] selected="selected"[% END %]>Rejected</option>
136
                [% ELSE %]<option value="ACCEPTED">Accepted</option>[% END %]
137
                [% IF (statusselected_CHECKED ) %]<option value="CHECKED" selected="selected">Checked</option>
138
                [% ELSE %]<option value="CHECKED">Checked</option>[% END %]
139
                [% IF ( statusselected_REJECTED ) %]<option value="REJECTED" selected="selected">Rejected</option>
140
                [% ELSE %]<option value="REJECTED">Rejected</option>[% END %]
137
            </select></li>[% END %]
141
            </select></li>[% END %]
138
        <li><table>
142
        <li><table>
139
            <thead><tr><th>&nbsp;</th><th>Date</th><th>By</th></tr></thead>
143
            <thead><tr><th>&nbsp;</th><th>Date</th><th>By</th></tr></thead>
Lines 273-282 $(document).ready(function() { calcNewsuggTotal(); }); Link Here
273
        <div id="status[% suggestion.suggestiontype %]">
277
        <div id="status[% suggestion.suggestiontype %]">
274
	<label for="STATUS[% suggestion.suggestiontype %]">Mark selected as: </label><select name="STATUS" id="STATUS[% suggestion.suggestiontype %]">
278
	<label for="STATUS[% suggestion.suggestiontype %]">Mark selected as: </label><select name="STATUS" id="STATUS[% suggestion.suggestiontype %]">
275
	<option value=""> -- Choose a status --</option>
279
	<option value=""> -- Choose a status --</option>
276
	<option value="ASKED"[% IF ( suggestion.statusselected_ASKED ) %] selected="selected"[% END %]>Asked</option>
280
    [% IF (statusselected_ASKED ) %]<option value="ASKED" selected="selected">Asked</option> 
277
	<option value="ACCEPTED"[% IF ( suggestion.statusselected_ACCEPTED ) %] selected="selected"[% END %]>Accepted</option>
281
    [% ELSE %]<option value="ASKED">Asked</option>[% END %]
278
	<option value="CHECKED"[% IF ( suggestion.statusselected_CHECKED ) %] selected="selected"[% END %]>Checked</option>
282
    [% IF (statusselected_ACCEPTED ) %]<option value="ACCEPTED" selected="selected">Accepted</option>
279
	<option value="REJECTED"[% IF ( suggestion.statusselected_REJECTED ) %] selected="selected"[% END %]>Rejected</option>
283
    [ELSE %]<option value="ACCEPTED">Accepted</option>[% END %]
284
    [% IF (statusselected_CHECKED ) %]<option value="CHECKED" selected="selected">Checked</option>
285
    [% ELSE %]<option value="CHECKED">Checked</option>[% END %]
286
    [% IF ( statusselected_REJECTED ) %]<option value="REJECTED" selected="selected">Rejected</option>
287
    [% ELSE %]<option value="REJECTED">Rejected</option>[% END %]
280
	</select>
288
	</select>
281
    <label for="reason[% suggestion.suggestiontype %]">with this reason:</label>                 <select id="reason[% suggestion.suggestiontype %]" name="reason[% suggestion.suggestiontype %]">
289
    <label for="reason[% suggestion.suggestiontype %]">with this reason:</label>                 <select id="reason[% suggestion.suggestiontype %]" name="reason[% suggestion.suggestiontype %]">
282
                    <option value=""> -- Choose a reason -- </option>
290
                    <option value=""> -- Choose a reason -- </option>
Lines 328-339 $(document).ready(function() { calcNewsuggTotal(); }); Link Here
328
                    <li><label for="collectiontitle"> Collection Title:</label><input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle %]" /></li><li><input type="submit" value="Go" /></li></ol>
336
                    <li><label for="collectiontitle"> Collection Title:</label><input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle %]" /></li><li><input type="submit" value="Go" /></li></ol>
329
                </fieldset>
337
                </fieldset>
330
				 <fieldset class="brief"><h4 class="collapse"><a href="#">Suggestion information</a></h4>
338
				 <fieldset class="brief"><h4 class="collapse"><a href="#">Suggestion information</a></h4>
331
                    <ol><li><label for="status"> Status:</label><select name="STATUS" id="STATUS"><option value="">Any</option>
339
                    <ol>
332
                    	<option value="ASKED"[% IF ( statusselected_ASKED ) %] selected="selected"[% END %]>Asked</option>
340
                      <li><label for="status"> Status:</label><select name="STATUS" id="STATUS"><option value="">Any</option>
333
						<option value="ACCEPTED"[% IF ( statusselected_ACCEPTED ) %] selected="selected"[% END %]>Accepted</option>
341
                        [% IF (statusselected_ASKED ) %]<option value="ASKED" selected="selected">Asked</option> 
334
						<option value="CHECKED"[% IF ( statusselected_CHECKED ) %] selected="selected"[% END %]>Checked</option>
342
                        [% ELSE %]<option value="ASKED">Asked</option>[% END %]
335
						<option value="REJECTED"[% IF ( statusselected_REJECTED ) %] selected="selected"[% END %]>Rejected</option>
343
                        [% IF (statusselected_ACCEPTED ) %]<option value="ACCEPTED" selected="selected">Accepted</option>
336
                                                          </select></li>
344
                        [% ELSE %]<option value="ACCEPTED">Accepted</option>[% END %]
345
                        [% IF (statusselected_CHECKED ) %]<option value="CHECKED" selected="selected">Checked</option>
346
                        [% ELSE %]<option value="CHECKED">Checked</option>[% END %]
347
                        [% IF ( statusselected_REJECTED ) %]<option value="REJECTED" selected="selected">Rejected</option>
348
                        [% ELSE %]<option value="REJECTED">Rejected</option>[% END %]
349
                      </select></li>
337
                    <li><label for="suggestedby"> Suggested By:</label><select id="suggestedby" name="suggestedby"><option value="">Any</option>
350
                    <li><label for="suggestedby"> Suggested By:</label><select id="suggestedby" name="suggestedby"><option value="">Any</option>
338
[% FOREACH suggestedby_loo IN suggestedby_loop %][% IF ( suggestedby_loo.selected ) %]<option value="[% suggestedby_loo.code %]" selected="selected">[% suggestedby_loo.desc %]</option>[% ELSE %]<option value="[% suggestedby_loo.code %]">[% suggestedby_loo.desc %]</option>[% END %][% END %]
351
[% FOREACH suggestedby_loo IN suggestedby_loop %][% IF ( suggestedby_loo.selected ) %]<option value="[% suggestedby_loo.code %]" selected="selected">[% suggestedby_loo.desc %]</option>[% ELSE %]<option value="[% suggestedby_loo.code %]">[% suggestedby_loo.desc %]</option>[% END %][% END %]
339
                                                                     </select></li>
352
                                                                     </select></li>
340
- 

Return to bug 6458