/[web]/templates/bugzilla/trunk/account/profile-activity.html.tmpl
ViewVC logotype

Contents of /templates/bugzilla/trunk/account/profile-activity.html.tmpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (show annotations) (download)
Fri Nov 26 14:56:29 2010 UTC (13 years, 5 months ago) by dmorgan
File size: 2751 byte(s)
Add custom template with identity support
1 [%# The contents of this file are subject to the Mozilla Public
2 # License Version 1.1 (the "License"); you may not use this file
3 # except in compliance with the License. You may obtain a copy of
4 # the License at http://www.mozilla.org/MPL/
5 #
6 # Software distributed under the License is distributed on an "AS
7 # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
8 # implied. See the License for the specific language governing
9 # rights and limitations under the License.
10 #
11 # The Original Code is the Bugzilla Bug Tracking System.
12 #
13 # The Initial Developer of the Original Code is Netscape Communications
14 # Corporation. Portions created by Netscape are
15 # Copyright (C) 1998 Netscape Communications Corporation. All
16 # Rights Reserved.
17 #
18 # Contributor(s): Vlad Dascalu <jocuri@softhome.net>
19 # Gavin Shelley <bugzilla@chimpychompy.org>
20 #%]
21
22 [%# INTERFACE:
23 # otheruser: Bugzilla User Object; The user whose profile activity
24 # we are viewing.
25 #
26 # listselectionvalues: selection values to recreate the current user list.
27 #
28 # profile_changes: An array of hashes containing the following fields:
29 #
30 # who: string; login name of who made the change
31 # activity_when: string; when the change was made
32 # what: string; the description of the field which was changed
33 # removed: string; the removed value (maybe empty string)
34 # added: string; the added value (maybe empty string)
35 #%]
36
37 [% title = BLOCK %]
38 Account History for '[% otheruser.login FILTER html %]'
39 [% END %]
40
41
42 [% PROCESS global/header.html.tmpl
43 title = title
44 %]
45
46 [% PROCESS admin/users/listselectvars.html.tmpl
47 listselectionvalues = listselectionvalues
48 %]
49
50 [% columns =
51 [{name => 'who'
52 heading => 'Who'
53 }
54 {name => 'activity_when'
55 heading => 'When'
56 }
57 {name => 'what'
58 heading => 'What'
59 content_use_field => 1
60 }
61 {name => 'removed'
62 heading => 'Removed'
63 }
64 {name => 'added'
65 heading => 'Added'
66 }
67 ]
68 %]
69
70 [% PROCESS admin/table.html.tmpl
71 columns = columns
72 data = profile_changes
73 %]
74
75 <p><a href="editusers.cgi?action=edit&amp;userid=
76 [%- otheruser.id FILTER url_quote %]"
77 title="Edit user '[% otheruser.login FILTER html %]'">Edit this user</a> or
78 <a title="Search For Users" href="editusers.cgi">search for other accounts</a>
79 [% IF listselectionvalues.matchtype != 'exact' %]
80 or go <a title="Return to the user list"
81 href="editusers.cgi?action=list[% INCLUDE listselectionurlparams %]">back
82 to the user list</a>
83 [% END %]
84 </p>
85
86 [% PROCESS global/footer.html.tmpl %]

  ViewVC Help
Powered by ViewVC 1.1.30