Changeset 2640

Show
Ignore:
Timestamp:
03/25/08 10:39:51
Author:
miyagawa
Message:

update profile screen HTML

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • yapcasia2008/actdocs/templates/core/user/show

    r2610 r2640  
    11<div class="vcard"> 
    22  <div class="picture small avator"> 
    3     [%- IF photo_name %] 
     3    [% IF photo_name %] 
    44    <img alt="{{Name}}" src="/[% global.config.general_dir_photos %]/[% photo_name %]" class="photo" /> 
    5     [%- ELSE %] 
     5    [% ELSE %] 
    66    <img alt="{{Name}}" src="/ya2008/css/themes/ya2008/images/no_photo.png" width="200" height="200" /> 
    77    [% END %] 
     
    1111<dt>{{Name}}</dt> 
    1212<dd class="n"> 
    13   [%- IF pseudonymous %] 
     13  [% IF pseudonymous %] 
    1414  [% 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> 
     15  [% ELSE %] 
     16  [% IF first_name.match('^[a-zA-Z ]+$') %] 
     17  <span class="given-name">[% first_name %]</span> 
     18  <span class="family-name">[% last_name %]</span> 
     19  [% ELSE %] 
     20  <span class="family-name">[% last_name %]</span> 
     21  <span class="given-name">[% first_name %]</span> 
     22  [% END %] 
    1923  [% "(&lrm;${nick_name}&lrm;)" IF nick_name %] 
    2024  [% END %]