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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-22 / +23 lines)
Lines 701-728 Link Here
701
                                [% END %]
701
                                [% END %]
702
                            </div> [% # /div#patron-alternative-contact %]
702
                            </div> [% # /div#patron-alternative-contact %]
703
703
704
                            <div id="patron-files" class="patroninfo-section">
704
                            [% IF Koha.Preference('EnableBorrowerFiles') %]
705
                                <div class="patroninfo-heading">
705
                                <div id="patron-files" class="patroninfo-section">
706
                                    <h3>Files</h3>
706
                                    <div class="patroninfo-heading">
707
                                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]"><i class="fa fa-list"></i> Manage</a>
707
                                        <h3>Files</h3>
708
708
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]"><i class="fa fa-list"></i> Manage</a>
709
                                    [% IF ( files ) %]
709
710
                                        <div class="rows">
710
                                        [% IF ( files ) %]
711
                                            <ol>
711
                                            <div class="rows">
712
                                                [% FOREACH f IN files %]
712
                                                <ol>
713
                                                    <li>
713
                                                    [% FOREACH f IN files %]
714
                                                        <a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;op=download&amp;file_id=[% f.file_id | uri %]">[% f.file_name | html %]</a>
714
                                                        <li>
715
                                                        [% IF ( f.file_description ) %]
715
                                                            <a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;op=download&amp;file_id=[% f.file_id | uri %]">[% f.file_name | html %]</a>
716
                                                            - [% f.file_description | html %]
716
                                                            [% IF ( f.file_description ) %]
717
                                                        [% END %]
717
                                                                - [% f.file_description | html %]
718
                                                    </li>
718
                                                            [% END %]
719
                                                [% END # /FOREACH f %]
719
                                                        </li>
720
                                            </ol>
720
                                                    [% END # /FOREACH f %]
721
                                        </div>
721
                                                </ol>
722
                                    [% END # /IF files %]
722
                                            </div>
723
                                        [% END # /IF files %]
723
724
724
                                </div> <!-- /.patroninfo-heading -->
725
                                    </div> <!-- /.patroninfo-heading -->
725
                            </div> <!-- /#patron-files -->
726
                                </div> <!-- /#patron-files -->
727
                            [% END # /IF EnableBorrowerFiles %]
726
728
727
                        </div> <!-- /div.col-sm-6 -->
729
                        </div> <!-- /div.col-sm-6 -->
728
                    </div> <!-- /div.row -->
730
                    </div> <!-- /div.row -->
729
- 

Return to bug 21345