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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-17 / +35 lines)
Lines 14-19 Link Here
14
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'cat-search.inc' %]
15
[% INCLUDE 'cat-search.inc' %]
16
16
17
[% BLOCK translate_log_module %]
18
[%    SWITCH module %]
19
[%        CASE 'CATALOGUING'  %]Catalog
20
[%        CASE 'AUTHORITIES'  %]Authorities
21
[%        CASE 'MEMBERS'      %]Patrons
22
[%        CASE 'ACQUISITIONS' %]Acquisitions
23
[%        CASE 'SERIAL'       %]Serials
24
[%        CASE 'CIRCULATION'  %]Circulation
25
[%        CASE 'LETTER'       %]Letter
26
[%        CASE 'FINES'        %]Fines
27
[%        CASE 'SYSTEMPREFERENCE' %]System prefs
28
[%        CASE %][% module %]
29
[%    END %]
30
[% END %]
31
32
[% BLOCK translate_log_action %]
33
[%    SWITCH action %]
34
[%        CASE 'ADD'    %]Add
35
[%        CASE 'DELETE' %]Delete
36
[%        CASE 'MODIFY' %]Modify
37
[%        CASE 'ISSUE'  %]Checkout
38
[%        CASE 'RETURN' %]Return
39
[%        CASE 'CREATE' %]Create
40
[%        CASE %][% action %]
41
[%    END %]
42
[% END %]
43
17
<div id="breadcrumbs">
44
<div id="breadcrumbs">
18
	<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
45
	<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
19
	[% IF ( do_it ) %]
46
	[% IF ( do_it ) %]
Lines 44-69 Link Here
44
								<label for="modules">Module:</label>
71
								<label for="modules">Module:</label>
45
								<select name="modules" id="modules" multiple="multiple">
72
								<select name="modules" id="modules" multiple="multiple">
46
									<option value="" selected="selected">All</option>
73
									<option value="" selected="selected">All</option>
47
									<option value ="CATALOGUING">Catalog</option>
74
                                                                        [% FOREACH modx IN [ CATALOGUING AUTHORITIES MEMBERS ACQUISITIONS SERIAL CIRCULATION LETTER FINES SYSTEMPREFERENCE ] %]
48
									<option value ="AUTHORITIES">Authorities</option>
75
                                                                        <option value="[% modx %]">[% PROCESS translate_log_module module=modx %]</option>
49
									<option value ="MEMBERS">Patrons</option>
76
                                                                        [% END %]
50
									<option value ="ACQUISITION">Acquisitions</option>
51
									<option value ="SERIAL">Serials</option>
52
									<option value="CIRCULATION">Circulation</option>
53
									<option value="LETTER">Letter</option>
54
									<option value="FINES">Fines</option>
55
                                    <option value="SYSTEMPREFERENCE">System prefs</option>
56
								</select>
77
								</select>
57
							</li>
78
							</li>
58
							<li>
79
							<li>
59
								<label for="action">Action:</label>
80
								<label for="action">Action:</label>
60
								<select name="action" id="action">
81
								<select name="action" id="action">
61
									<option value ="">All</option>
82
									<option value ="">All</option>
62
									<option value ="ADD">Add</option>
83
                                                                        [% FOREACH actx IN [ ADD DELETE MODIFY ISSUE RETURN CREATE ] %]
63
									<option value ="DELETE">Delete</option>
84
                                                                        <option value="[% actx %]">[% PROCESS translate_log_action action=actx %]</option>
64
									<option value ="MODIFY">Modify</option>
85
                                                                        [% END %]
65
									<option value="ISSUE">Checkout</option>
66
									<option value="RETURN">Return</option>
67
								</select>
86
								</select>
68
							</li>
87
							</li>
69
							<li>
88
							<li>
Lines 129-136 Link Here
129
                                    <td>
148
                                    <td>
130
                                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this librarian."> [% IF ( loopro.userfirstname ) || ( loopro.usersurname ) %][% loopro.userfirstname %] [% loopro.usersurname %] ([% loopro.user %]) [% ELSE %][% loopro.user %][% END %]</a>
149
                                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this librarian."> [% IF ( loopro.userfirstname ) || ( loopro.usersurname ) %][% loopro.userfirstname %] [% loopro.usersurname %] ([% loopro.user %]) [% ELSE %][% loopro.user %][% END %]</a>
131
                                    </td>
150
                                    </td>
132
                                    <td>[% loopro.module %]</td>
151
                                    <td>[% PROCESS translate_log_module module=loopro.module %]</td>
133
                                    <td>[% loopro.action %]</td>
152
                                    <td>[% PROCESS translate_log_action action=loopro.action %]</td>
134
                                    <td>
153
                                    <td>
135
                                        [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
154
                                        [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
136
                                             <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details."> [% IF ( loopro.object ) %][% IF ( loopro.borrowerfirstname ) || ( loopro.borrowersurname ) %][% loopro.borrowerfirstname %] [% loopro.borrowersurname %] ([% loopro.object %]) [% ELSE %]Member [% loopro.object %][% END %][% END %] </a>
155
                                             <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details."> [% IF ( loopro.object ) %][% IF ( loopro.borrowerfirstname ) || ( loopro.borrowersurname ) %][% loopro.borrowerfirstname %] [% loopro.borrowersurname %] ([% loopro.object %]) [% ELSE %]Member [% loopro.object %][% END %][% END %] </a>
137
- 

Return to bug 11392