root/yapcasia2008-test/actdocs/templates/core/user/show

Revision 2518 (checked in by kaminogoya, 12 years ago)

modified profile view page

Line 
1 <div class="vcard">
2   <div class="picture small avator">
3     [%- IF photo_name %]
4     <img alt="{{Name}}" src="/[% global.config.general_dir_photos %]/[% photo_name %]" class="photo" />
5     [%- ELSE %]
6     <img alt="{{Name}}" src="/ya2008/css/themes/ya2008/images/no_photo.png" width="200" height="200" />
7     [% END %]
8   </div>
9 <dl>
10 <!-- name -->
11 <dt>{{Name}}</dt>
12 <dd class="n">
13   [%- IF pseudonymous %]
14   [% nick_name %]
15   [%- ELSE %]
16   [% loc("salutation_${salutation}") IF salutation %]
17   <span class="family-name">[% first_name %]</span>
18   <span class="given-name">[% last_name %]</span>
19   [% "(&lrm;${nick_name}&lrm;)" IF nick_name %]
20   [% END %]
21 </dd>
22 <!-- /name -->
23 <!-- country -->
24 <dt>{{Country}}</dt>
25 <dd class="adr">[%- IF town %]<span class="region">[% town%]</span>, [% END %]<span class="country-name">[% country %]</span></dd>
26 <!-- /country -->
27 [%- IF pm_group %]
28 <!-- pm -->
29 <dt>{{Perl mongers group}}</dt>
30 <dd>[% IF pm_group_url %]<a href="[% pm_group_url %]">[% pm_group %]</a>[% ELSE %][% pm_group %][% END %]</dd>
31 <!-- /pm -->
32 [% END %]
33 [% IF company %]
34 <!-- company -->
35 <dt>{{Company}}</dt>
36 <dd>[% "<a href=\"$company_url\" class=\"org\">" IF company_url %][% company %][% '</a>' IF company_url %]</dd>
37 <!-- /company -->
38 [% END %]
39 [%- IF web_page %]
40 <!-- web -->
41 <dt>{{Web page}}</dt>
42 <dd><tt><a href="[% web_page %]" class="url">[% web_page %]</a></tt></dd>
43 <!-- /web -->
44 [% END %]
45 [%- IF not email_hide or global.request.user.is_orga %]
46 <!-- email -->
47 <dt>{{Email}}</dt>
48 <dd><tt><a href="mailto:[% email %]" class="email">[% email %]</a></tt></dd>
49 <!-- /email -->
50 [% END %]
51 [%- IF im %]
52 <!-- im -->
53 <dt>{{IM}}</dt>
54 <dd>[% im %]</dd>
55 <!-- /im -->
56 [% END %]
57 [%- IF pause_id %]
58 <!-- pause_id -->
59 <dt>Pause id</dt>
60 <dd><a href="http://search.cpan.org/author/[% pause_id %]/">[% pause_id %]</a></dd>
61 <!-- /pause_id -->
62 [% END %]
63 [%- IF monk_id %]
64 <!-- monk_id -->
65 <dt>Perlmonks id</dt>
66 <dd><a href="http://perlmonks.org/index.pl?node_id=[% monk_id %]" >[% monk_name OR monk_id %]</a></dd>
67 <!-- monk_id -->
68 [% END %]
69 [%- IF gpg_key_id %]
70 <!-- gpg_key -->
71 <dd>{{GPG key ID}}</dd>
72 <dt><a href="http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x[% gpg_key_id %]">0x[% gpg_key_id %]</a></dd>
73 <!-- /gpg_key -->
74 [% END %]
75 [%- IF bio.keys.size %]
76 <!-- bio -->
77 <dt>{{Bio}}</dt>
78 [% FOREACH lang = bio.keys %]
79 <dd>
80 [% global.config.languages.$lang.name | ucfirst %]
81 <p>[% bio.$lang | replace('\n', '<br />') %]</p>
82 </dd>
83 [% END %]
84 <!-- /bio -->
85 [% END %]
86 </dl>
87
88 [% IF talks.size %]
89 <dl id="talks">
90 <!-- talk -->
91 <dt>[% loc('Talk', talks.size) %]
92   [% accepted = 0;
93   FOREACH t = talks; IF t.accepted; accepted = 1; LAST; END; END;
94   IF accepted %]
95   <span class="memo">({{Accepted talks are shown in bold type.}})</span>
96   [% END %]
97 </dt>
98 <dd>
99   <ul>
100     [% FOREACH t = talks %]
101     <li>[% talk_link(t) %] <span class="time">([% IF t.duration ; t.duration %]{{minutes}}[% ELSE %]{{Lightning talk}}[% END %])</span>[% talk_modify_link(t) %]</li>
102     [% END %]
103   </ul>
104 </dd>
105 </dl>
106 <!-- /talk -->
107 [% END %]
108
109 [% IF conferences.size %]
110 <dl id="other-act-conferences">
111 <dt>{{Other Act conferences:}}</dt>
112 <dd>
113   <ul>
114     [% FOREACH c = conferences %]<li><a href="[% c.url %]user/[% user_id %]">[% c.name %]</a>[% END %]
115   </ul>
116 </dd>
117 </dl>
118 [% END %]
119 </div>
Note: See TracBrowser for help on using the browser.