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

Return to bug 20809