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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-2 / +3 lines)
Lines 1693-1707 dd { Link Here
1693
}
1693
}
1694
1694
1695
.patronimage {
1695
.patronimage {
1696
    border: 1px solid #EEE;
1696
    display: block;
1697
    display: block;
1697
    max-width: 160px;
1698
    max-width: 160px;
1699
    margin: auto;
1698
    opacity: 1;
1700
    opacity: 1;
1699
    transition: .2s ease;
1701
    transition: .2s ease;
1700
1702
1701
    .empty {
1703
    &.empty {
1702
        background: transparent url( "../img/patron-blank.min.svg" ) center 5px no-repeat;
1704
        background: transparent url( "../img/patron-blank.min.svg" ) center 5px no-repeat;
1703
        height: 125px;
1705
        height: 125px;
1704
        margin: .3em 0 .3em .3em;
1705
        padding: 0;
1706
        padding: 0;
1706
        width: 80%;
1707
        width: 80%;
1707
    }
1708
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-4 / +3 lines)
Lines 269-277 Link Here
269
                                        [% END %]
269
                                        [% END %]
270
                                        <form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
270
                                        <form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
271
                                            [% IF ( patron.image ) %]
271
                                            [% IF ( patron.image ) %]
272
                                                <div class="hint">To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.</div>
272
                                                <div class="hint">To update the image for [% patron.title %] [% patron.firstname | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.</div>
273
                                            [% ELSE %]
273
                                            [% ELSE %]
274
                                                <div class="hint">[% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %] [% patron.surname | html %], enter the name of an image file to upload.</div>
274
                                                <div class="hint">[% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %], enter the name of an image file to upload.</div>
275
                                            [% END %]
275
                                            [% END %]
276
                                            <p>Only PNG, GIF, JPEG, XPM formats are supported.</p>
276
                                            <p>Only PNG, GIF, JPEG, XPM formats are supported.</p>
277
                                            <label for="uploadfile">Select the file to upload: </label>
277
                                            <label for="uploadfile">Select the file to upload: </label>
Lines 858-864 Link Here
858
                "bPaginate": false
858
                "bPaginate": false
859
            }));
859
            }));
860
            [% IF ( patron.image ) %]
860
            [% IF ( patron.image ) %]
861
                $('#delpicture').click(function(){
861
                $("body").on("click", "#delpicture", function(){
862
                     return confirm(_("Are you sure you want to delete this patron image? This cannot be undone."));
862
                     return confirm(_("Are you sure you want to delete this patron image? This cannot be undone."));
863
                });
863
                });
864
                $('#manage-patron-image').find("input[value*=Upload]").click(function(){
864
                $('#manage-patron-image').find("input[value*=Upload]").click(function(){
865
- 

Return to bug 20809