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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-1 / +1 lines)
Lines 39-45 Link Here
39
39
40
            <tbody>
40
            <tbody>
41
                [% FOREACH l IN lists %]
41
                [% FOREACH l IN lists %]
42
                    [% SET shared_by_other = l.owner.id != logged_in_user %]
42
                    [% SET shared_by_other = l.owner.id != logged_in_user.id %]
43
                    <tr>
43
                    <tr>
44
                        <td><a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% l.patron_list_id %]">[% l.name |html%]</a></td>
44
                        <td><a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% l.patron_list_id %]">[% l.name |html%]</a></td>
45
                        <td>[% l.patron_list_patrons_rs.count || 0 %]</td>
45
                        <td>[% l.patron_list_patrons_rs.count || 0 %]</td>
(-)a/patron_lists/lists.pl (-5 / +1 lines)
Lines 39-47 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
39
40
my @lists = GetPatronLists();
40
my @lists = GetPatronLists();
41
41
42
$template->param(
42
$template->param( lists => \@lists );
43
    lists          => \@lists,
44
    logged_in_user => $loggedinuser,
45
);
46
43
47
output_html_with_http_headers( $cgi, $cookie, $template->output );
44
output_html_with_http_headers( $cgi, $cookie, $template->output );
48
- 

Return to bug 19524