Ignore:
Timestamp:
05/23/09 06:45:19 (15 years ago)
Author:
nanardon
Message:
  • majority of administrative structure will be groups
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrForms.pm

    r160 r165  
    3636    title => [ 'Fonction' ], 
    3737    expire => [ 'Expire le', 'date' ], 
    38     st => [ 'État (US)' ] 
     38    st => [ 'État (US)' ], 
     39    sutype => [ 'Structure admin.', 'select-N:sutype' ], 
    3940}; 
    4041 
     
    8586        ) ], 
    8687    }, 
    87     cell => { 
    88         name => 'Cellule', 
    89         attrs => [qw(description manager) ], 
    90     }, 
    9188    department => { 
    9289        name => 'Département', 
    9390        attrs => [qw(description manager) ], 
    9491    }, 
    95     team => { 
    96         name => 'Équipe', 
    97         attrs => [qw(description) ], 
    98     }, 
    9992    group => { 
    10093        name => 'SystÚme', 
     
    10295        attrs => [ qw( 
    10396            gidNumber description 
     97            sutype 
    10498        ) ], 
    10599    }, 
     
    175169    # exception: gidNumber is used also in group, but we don't want 
    176170    # group list here, really the number ! 
    177     $type = '' if (($self->{form} || '') =~ /^group/); 
     171    $type = '' if (($self->{form} || '') =~ /^group/ && $attr eq 'gidNumber'); 
    178172    for ($type) { 
    179173        /^textarea$/ and return sprintf( 
Note: See TracChangeset for help on using the changeset viewer.