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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-19 / +22 lines)
Lines 57-63 Link Here
57
                            [% END %]
57
                            [% END %]
58
                        </div>
58
                        </div>
59
                    [% END %]
59
                    [% END %]
60
                    <h1>Plugins</h1>
60
                    <h1>
61
                        [% UNLESS ( method ) %]
62
                            <span>All plugins<span>
63
                        [% ELSE %]
64
                            [% IF method == 'tool' %]
65
                                <span>Plugins that can be used as a tool</span>
66
                            [% ELSIF method == 'report' %]
67
                                <span>Plugins that can create a report</span>
68
                            [% ELSIF method == 'to_marc' %]
69
                                <span>Plugins that can convert files to MARC records</span>
70
                            [% ELSIF method == 'opac_online_payment' %]
71
                                <span>Plugins that can process online payments via the public catalog</span>
72
                            [% ELSIF method == 'intranet_catalog_biblio_enhancements' %]
73
                                <span>Plugins that can enhance the intranet catalog biblio records</span>
74
                            [% ELSIF method == 'ill_availability_services' %]
75
                                <span>Plugins that can provide ILL availability</span>
76
                            [% ELSE %]
77
                                <span>Plugins with class <em>[% method | html %]</em></span>
78
                            [% END %]
79
                        [% END %]
80
                    </h1>
61
81
62
                    [% IF search_results %]
82
                    [% IF search_results %]
63
                        <h2>Search results</h2>
83
                        <h2>Search results</h2>
Lines 83-105 Link Here
83
                    [% END %]
103
                    [% END %]
84
104
85
                    [% UNLESS ( plugins ) %]
105
                    [% UNLESS ( plugins ) %]
86
                        [% UNLESS ( method ) %]
106
                        <div class="dialog message">No plugins installed</div>
87
                            <div class="dialog message">No plugins installed</div>
88
                        [% ELSE %]
89
                            [% IF method == 'tool' %]
90
                                <div class="dialog message">No plugins that can be used as a tool are installed</div>
91
                            [% ELSIF method == 'report' %]
92
                                <div class="dialog message">No plugins that can create a report are installed</div>
93
                            [% ELSIF method == 'to_marc' %]
94
                                <div class="dialog message">No plugins that can convert files to MARC records are installed</div>
95
                            [% ELSIF method == 'opac_online_payment' %]
96
                                <div class="dialog message">No plugins that can process online payments via the public catalog are installed</div>
97
                            [% ELSIF method == 'intranet_catalog_biblio_enhancements' %]
98
                                <div class="dialog message">No plugins that can enhance the intranet catalog biblio records are installed</div>
99
                            [% ELSE %]
100
                                <div class="dialog message">Unknown plugin type <em>[% method | html %]</em></div>
101
                            [% END %]
102
                        [% END %]
103
                    [% ELSE %]
107
                    [% ELSE %]
104
                        <table id="installed_plugins">
108
                        <table id="installed_plugins">
105
                            <tr>
109
                            <tr>
106
- 

Return to bug 27188