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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-1 / +32 lines)
Lines 483-489 div.patroninfo ul { Link Here
483
	border-right : 1px solid #000;
483
	border-right : 1px solid #000;
484
	border-bottom : 0;
484
	border-bottom : 0;
485
	border-top : 0;
485
	border-top : 0;
486
	padding : 0;
486
	padding : .5em 0;
487
	margin : 0;
487
	margin : 0;
488
}
488
}
489
489
Lines 495-500 div.patroninfo ul li, div.patronviews ul li { Link Here
495
	list-style-type : none;
495
	list-style-type : none;
496
}
496
}
497
497
498
#patronimage {
499
	border-right : 1px solid #000;
500
}
501
502
#patronimage img {
503
	max-width : 140px;
504
	margin: .3em 0 .3em .3em;
505
	padding: .2em;
506
	border: 1px solid #CCCCCC;
507
	width:auto !important;
508
	width:130px;
509
}
510
498
div.patronviews {
511
div.patronviews {
499
	border-right :  1px solid #000;
512
	border-right :  1px solid #000;
500
	border-top : 1px solid #000;
513
	border-top : 1px solid #000;
Lines 1953-1958 ul.budget_hierarchy li:last-child:after { Link Here
1953
ul.budget_hierarchy li:first-child:after {
1966
ul.budget_hierarchy li:first-child:after {
1954
    content: "";
1967
    content: "";
1955
}
1968
}
1969
.collapse {
1970
	display : none;
1971
}
1972
.togglecollapse {
1973
	border-right : 1px solid #000;
1974
	font-size: 85%;
1975
    display: block;
1976
    padding: .2em .2em .2em 15px;
1977
    margin: 0;
1978
    cursor: pointer;
1979
}
1980
.toggleclosed {
1981
    background: #eee url(../../img/more-right-arrow.gif) 0 50% no-repeat;
1982
}
1983
.toggleopen {
1984
	background: #eee url(../../img/more-up-arrow.gif) 0 50% no-repeat;
1985
}
1986
1956
.holdcount { font-size : 105%; line-height : 200%; }
1987
.holdcount { font-size : 105%; line-height : 200%; }
1957
.holdcount a { border : 1px solid #a4bedd; background-color : #e4ecf5; font-weight : bold; -moz-border-radius: 4px; padding : .1em .4em; text-decoration : none; }
1988
.holdcount a { border : 1px solid #a4bedd; background-color : #e4ecf5; font-weight : bold; -moz-border-radius: 4px; padding : .1em .4em; text-decoration : none; }
1958
.holdcount a:hover { background-color : #ebeff7; }
1989
.holdcount a:hover { background-color : #ebeff7; }
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-5 / +9 lines)
Lines 4-17 Link Here
4
<style type="tex/css">img { width: expression(this.width > 140 ? 140: true);
4
<style type="tex/css">img { width: expression(this.width > 140 ? 140: true);
5
}</style>
5
}</style>
6
<![endif]-->
6
<![endif]-->
7
<ul>
8
[% IF ( patronimages ) %]
7
[% IF ( patronimages ) %]
9
[% IF ( picture ) %]
8
[% IF ( picture ) %]
10
<li><img src="/cgi-bin/koha/members/patronimage.pl?crdnum=[% cardnumber %]" id="patronimage" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li>
9
<div id="patronimage"><img src="/cgi-bin/koha/members/patronimage.pl?crdnum=[% cardnumber %]" alt="[% firstname %] [% surname %] ([% cardnumber %])" /></div>
11
[% ELSE %]
10
[% ELSE %]
12
<li><img src="/intranet-tmpl/prog/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
11
<div id="patronimage"><img src="/intranet-tmpl/prog/img/patron-blank.png" alt="[% firstname %] [% surname %] ([% cardnumber %])" /></div>
13
[% END %]
12
[% END %]
14
[% END %]
13
[% END %]
14
<ul id="contact" class="collapse">
15
    <li>[% IF ( address ) %]
15
    <li>[% IF ( address ) %]
16
            [% address %]
16
            [% address %]
17
    [% ELSE %]
17
    [% ELSE %]
Lines 22-28 Link Here
22
    [% END %]<li> 
22
    [% END %]<li> 
23
    [% IF ( city ) %]
23
    [% IF ( city ) %]
24
            [% city %][% IF ( state ) %], [% state %][% END %]
24
            [% city %][% IF ( state ) %], [% state %][% END %]
25
	    [% zipcode %][% IF ( country ) %], [% country %][% END %]
25
	    [% zipcode %][% IF ( country ) %]<br />[% country %][% END %]
26
    [% ELSE %]
26
    [% ELSE %]
27
        <span class="empty">No city stored.</span>
27
        <span class="empty">No city stored.</span>
28
    [% END %]</li>
28
    [% END %]</li>
Lines 48-56 Link Here
48
            <li> <span class="empty">No email stored.</span>    </li>
48
            <li> <span class="empty">No email stored.</span>    </li>
49
        [% END %]
49
        [% END %]
50
    [% END %]
50
    [% END %]
51
</ul>
52
<a class="togglecollapse toggleclosed" id="showcontact" href="#">Contact Information</a>
53
<ul>
51
    <li>Category: [% categoryname %] ([% categorycode %])</li>
54
    <li>Category: [% categoryname %] ([% categorycode %])</li>
52
    <li>Home Library: [% IF ( branchname ) %][% branchname %][% ELSE %][% branch %][% END %]</li>
55
    <li>Home Library: [% IF ( branchname ) %][% branchname %][% ELSE %][% branch %][% END %]</li>
53
</ul></div>
56
</ul>
57
</div>
54
<div id="menu">
58
<div id="menu">
55
<ul>
59
<ul>
56
	[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check Out</a></li>
60
	[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check Out</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js (+11 lines)
Lines 10-15 function _(s) { return s } // dummy function for gettext Link Here
10
	if($("#header_search #circ_search").length > 0){ $(document).bind('keydown','Alt+u',function (){ $("#header_search > ul").tabs("select","#circ_search"); $("#findborrower").focus(); }); } else { $(document).bind('keydown','Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; }); }
10
	if($("#header_search #circ_search").length > 0){ $(document).bind('keydown','Alt+u',function (){ $("#header_search > ul").tabs("select","#circ_search"); $("#findborrower").focus(); }); } else { $(document).bind('keydown','Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; }); }
11
	if($("#header_search #catalog_search").length > 0){ $(document).bind('keydown','Alt+q',function (){ $("#header_search > ul").tabs("select","#catalog_search"); $("#search-form").focus(); }); } else { $(document).bind('keydown','Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); }
11
	if($("#header_search #catalog_search").length > 0){ $(document).bind('keydown','Alt+q',function (){ $("#header_search > ul").tabs("select","#catalog_search"); $("#search-form").focus(); }); } else { $(document).bind('keydown','Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); }
12
 	$(".focus").focus();
12
 	$(".focus").focus();
13
14
	// Toggle display of collapsed sections; Toggle appearance of "show/hide" links
15
	$(".togglecollapse").toggle(
16
		function(){
17
			$(this).prev(".collapse").slideDown(50);
18
			$(this).removeClass("toggleclosed").addClass("toggleopen");
19
		},
20
		function(){
21
			$(this).prev(".collapse").slideUp(50);
22
			$(this).removeClass("toggleopen").addClass("toggleclosed");
23
	});
13
 });
24
 });
14
 
25
 
15
             YAHOO.util.Event.onContentReady("header", function () {
26
             YAHOO.util.Event.onContentReady("header", function () {

Return to bug 6674