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

(-)a/about.pl (+7 lines)
Lines 108-113 foreach (@components) { Link Here
108
        $row = [];
108
        $row = [];
109
    }
109
    }
110
}
110
}
111
# Processing the last line (if there are any modules left)
112
if (scalar(@$row) > 0) {
113
    # Extending $row to the table size
114
    $$row[3] = '';
115
    # Pushing the last line
116
    push (@$table, {row => $row});
117
}
111
## ## $table
118
## ## $table
112
119
113
$template->param( table => $table );
120
$template->param( table => $table );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-4 / +10 lines)
Lines 69-83 Link Here
69
                    <th scope="row" style="background-color:#FFCB2F;font-weight:normal" title="Module upgrade needed">
69
                    <th scope="row" style="background-color:#FFCB2F;font-weight:normal" title="Module upgrade needed">
70
                    [% END %]
70
                    [% END %]
71
                    [% ELSE %]
71
                    [% ELSE %]
72
                    [% IF ( ro.require ) %]
72
                    [% IF ( ro.name == '' ) %]
73
                    <th> 
74
                    [% ELSIF ( ro.require ) %]
73
                    <th scope="row" style="background-color:#FF8A8A;font-weight:bold;" title="Required module missing">
75
                    <th scope="row" style="background-color:#FF8A8A;font-weight:bold;" title="Required module missing">
74
                    [% ELSE %]
76
                    [% ELSE %]
75
                    <th scope="row" style="background-color:#FF8A8A;font-weight:normal" title="Optional module missing">
77
                    <th scope="row" style="background-color:#FF8A8A;font-weight:normal" title="Optional module missing">
76
                    [% END %]
78
                    [% END %]
77
                    [% END %]
79
                    [% END %]
78
                        [% ro.name %]
80
                    [% ro.name %]
79
                    </th>
81
                    </th>
80
                    [% IF ( ro.version ) %]<td>[% ro.version %][% ELSE %]<td style="font-weight:bold">Not Installed[% END %]</td>
82
                    [% IF ( ro.name == '' ) %]
83
                    <td>
84
                    [% ELSIF ( ro.version ) %]
85
                    <td>[% ro.version %]
86
                    [% ELSE %]
87
                    <td style="font-weight:bold">Not Installed [% END %]</td>
81
                    [% END %]
88
                    [% END %]
82
                </tr>
89
                </tr>
83
                [% END %]
90
                [% END %]
84
- 

Return to bug 8282