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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-7 / +7 lines)
Lines 79-86 $(document).ready(function() { Link Here
79
	    $("#reason"+sid).show().find("option[value='']").attr("selected","selected");
79
	    $("#reason"+sid).show().find("option[value='']").attr("selected","selected");
80
		$("#other_reason"+sid).hide();
80
		$("#other_reason"+sid).hide();
81
    });
81
    });
82
	$("h4.collapse a").click(function(){
82
    $("h4.local_collapse a").click(function(){
83
		$(this).parent().parent().find("ol").toggle();
83
        $(this).parent().parent().find("ol").toggle();
84
        return false;
84
    });
85
    });
85
    // http://jqueryui.com/demos/datepicker/#date-range
86
    // http://jqueryui.com/demos/datepicker/#date-range
86
    var dates = $( "#suggesteddate_from, #suggesteddate_to" ).datepicker({
87
    var dates = $( "#suggesteddate_from, #suggesteddate_to" ).datepicker({
Lines 126-132 $(document).ready(function() { Link Here
126
// ]]>
127
// ]]>
127
</script>
128
</script>
128
<style type="text/css">
129
<style type="text/css">
129
h4.collapse a { font-size : 80%; text-decoration: none; } fieldset.brief ol { display : none; }
130
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief ol { display : none; }
130
.overlay { top: 180px; left: 50%; position: absolute; margin-left: -100px; width: 200px; text-align: center; display: none; margin-top: -10px; background: #eeffd4; padding: .5em; color: #000; } .note { -moz-border-radius: 3px; border-radius:3px; background: transparent url("/intranet-tmpl/prog/img/famfamfam/silk/comment.png") top left no-repeat; padding : 1px 3px 1px 18px; font-size : 90%; }
131
.overlay { top: 180px; left: 50%; position: absolute; margin-left: -100px; width: 200px; text-align: center; display: none; margin-top: -10px; background: #eeffd4; padding: .5em; color: #000; } .note { -moz-border-radius: 3px; border-radius:3px; background: transparent url("/intranet-tmpl/prog/img/famfamfam/silk/comment.png") top left no-repeat; padding : 1px 3px 1px 18px; font-size : 90%; }
131
</style>[% ELSE %]
132
</style>[% ELSE %]
132
<script type="text/javascript">
133
<script type="text/javascript">
Lines 482-488 $(document).ready(function() { calcNewsuggTotal(); }); Link Here
482
<h4>Filter by: <a style="font-size:80%;font-weight:normal;" href="/cgi-bin/koha/suggestion/suggestion.pl">[clear]</a></h4>
483
<h4>Filter by: <a style="font-size:80%;font-weight:normal;" href="/cgi-bin/koha/suggestion/suggestion.pl">[clear]</a></h4>
483
                <div style="display:block;" id="limits">
484
                <div style="display:block;" id="limits">
484
485
485
				<fieldset class="brief"><h4 class="collapse"><a href="#">Bibliographic information</a></h4>
486
				<fieldset class="brief"><h4 class="local_collapse"><a href="#">Bibliographic information</a></h4>
486
                   <ol> <li><label for="title"> Title:</label><input type="text" id="title" name="title" value="[% title |html %]" /></li>
487
                   <ol> <li><label for="title"> Title:</label><input type="text" id="title" name="title" value="[% title |html %]" /></li>
487
                    <li><label for="author"> Author:</label><input type="text" id="author" name="author" value="[% author %]" /></li>
488
                    <li><label for="author"> Author:</label><input type="text" id="author" name="author" value="[% author %]" /></li>
488
                    <li><label for="isbn"> ISBN:</label><input type="text" id="isbn"  name="isbn" value="[% isbn %]" /></li>
489
                    <li><label for="isbn"> ISBN:</label><input type="text" id="isbn"  name="isbn" value="[% isbn %]" /></li>
Lines 490-496 $(document).ready(function() { calcNewsuggTotal(); }); Link Here
490
                    <li><label for="copyrightdate_filter"> Copyright date:</label><input type="text" id="copyrightdate_filter" name="copyrightdate" value="[% copyrightdate %]" /></li>
491
                    <li><label for="copyrightdate_filter"> Copyright date:</label><input type="text" id="copyrightdate_filter" name="copyrightdate" value="[% copyrightdate %]" /></li>
491
                    <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>
492
                    <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>
492
                </fieldset>
493
                </fieldset>
493
				 <fieldset class="brief"><h4 class="collapse"><a href="#">Suggestion information</a></h4>
494
				 <fieldset class="brief"><h4 class="local_collapse"><a href="#">Suggestion information</a></h4>
494
                    <ol>
495
                    <ol>
495
                      <li><label for="STATUS"> Status:</label><select name="STATUS" id="STATUS"><option value="">Any</option>
496
                      <li><label for="STATUS"> Status:</label><select name="STATUS" id="STATUS"><option value="">Any</option>
496
                        [% IF (statusselected_ASKED ) %]<option value="ASKED" selected="selected">Pending</option> 
497
                        [% IF (statusselected_ASKED ) %]<option value="ASKED" selected="selected">Pending</option> 
Lines 544-550 $(document).ready(function() { calcNewsuggTotal(); }); Link Here
544
                    <li><input type="submit" value="Go" /></li></ol>
545
                    <li><input type="submit" value="Go" /></li></ol>
545
                </fieldset>
546
                </fieldset>
546
547
547
				<fieldset class="brief"><h4 class="collapse"><a href="#">Acquisition information</a></h4>
548
				<fieldset class="brief"><h4 class="local_collapse"><a href="#">Acquisition information</a></h4>
548
                    <ol><li><label for="budgetid"> Book fund:</label>
549
                    <ol><li><label for="budgetid"> Book fund:</label>
549
                    <select name="budgetid" id="budgetid"><option value="">Any</option>[% FOREACH budgetid_loo IN budgetid_loop %]
550
                    <select name="budgetid" id="budgetid"><option value="">Any</option>[% FOREACH budgetid_loo IN budgetid_loop %]
550
                        [% IF ( budgetid_loo.selected ) %] <option value="[% budgetid_loo.code %]" selected="selected">[% budgetid_loo.desc %]</option>[% ELSE %]<option value="[% budgetid_loo.code %]">[% budgetid_loo.desc %]</option>[% END %]
551
                        [% IF ( budgetid_loo.selected ) %] <option value="[% budgetid_loo.code %]" selected="selected">[% budgetid_loo.desc %]</option>[% ELSE %]<option value="[% budgetid_loo.code %]">[% budgetid_loo.desc %]</option>[% END %]
551
- 

Return to bug 9653