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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-3 / +16 lines)
Lines 80-89 Link Here
80
                                        [% report.content | html %]
80
                                        [% report.content | html %]
81
                                    </td>
81
                                    </td>
82
                                    <td><a href="[% OPACBaseURL | url %][% report.problempage | url %]">[% OPACBaseURL | url %][% report.problempage | html %]</a></td>
82
                                    <td><a href="[% OPACBaseURL | url %][% report.problempage | url %]">[% OPACBaseURL | url %][% report.problempage | html %]</a></td>
83
                                    <td>[% report.recipient | html %]</td>
83
                                    <td>
84
                                        [% SWITCH report.recipient %]
85
                                        [% CASE 'admin' %]Koha administrator
86
                                        [% CASE 'library' %]A librarian
87
                                        [% END %]
88
                                    </td>
84
                                    <td><span title="[% report.created_on | html %]">[% report.created_on | $KohaDates with_hours => 1 %]</span></td>
89
                                    <td><span title="[% report.created_on | html %]">[% report.created_on | $KohaDates with_hours => 1 %]</span></td>
85
                                    <td>[% INCLUDE 'patron-title.inc' patron => report.patron hide_patron_infos_if_needed=1 %]</td>
90
                                    <td>[% INCLUDE 'patron-title.inc' patron => report.patron hide_patron_infos_if_needed=1 %]</td>
86
                                    <td class="status[% report.status | html %]" name="status"><span id="status_[% report.reportid | html %]">[% report.status | html %]</span></td>
91
                                    <td class="status[% report.status | html %]" name="status">
92
                                        <span id="status_[% report.reportid | html %]">
93
                                            [% SWITCH report.status %]
94
                                            [% CASE 'New' %]New
95
                                            [% CASE 'Closed' %]Closed
96
                                            [% CASE 'Viewed' %]Viewed
97
                                            [% CASE %]Unknown status ([% report.status | html %])
98
                                            [% END %]
99
                                        </span>
100
                                    </td>
87
                                    <td class="actions">
101
                                    <td class="actions">
88
                                        [% IF ( report.status == 'New' ) %]
102
                                        [% IF ( report.status == 'New' ) %]
89
                                            <button name="viewed" data-report_id="[% report.reportid | html %]" class="viewed btn btn-default btn-xs"><i class="fa fa-eye"></i> Mark viewed</button> <button name="closed" data-report_id="[% report.reportid | html %]" class="closed btn btn-default btn-xs"><i class="fa fa-times-circle"></i> Mark closed</button> <button name="new" disabled="disabled" data-report_id="[% report.reportid | html %]" class="new btn btn-default btn-xs"><i class="fa fa-star"></i> Mark new</button>
103
                                            <button name="viewed" data-report_id="[% report.reportid | html %]" class="viewed btn btn-default btn-xs"><i class="fa fa-eye"></i> Mark viewed</button> <button name="closed" data-report_id="[% report.reportid | html %]" class="closed btn btn-default btn-xs"><i class="fa fa-times-circle"></i> Mark closed</button> <button name="new" disabled="disabled" data-report_id="[% report.reportid | html %]" class="new btn btn-default btn-xs"><i class="fa fa-star"></i> Mark new</button>
90
- 

Return to bug 25626