Changeset 780
- Timestamp:
- 02/02/10 02:17:42 (14 years ago)
- Location:
- LATMOS-Accounts-Web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrForms.pm
r761 r780 206 206 ? ($self->{object}, $attr, 'w') 207 207 : ($self->otype, '@CREATE', 'w')); 208 $type ||= $self->base->get_field_name($self->otype, $attr, 'w') && $modallow 209 ? $attrs->{$attr}[1] || '' 210 : 'label'; 208 $type ||= $attrs->{$attr}[1] || ''; 209 if (!($self->base->get_field_name($self->otype, $attr, 'w') && $modallow)) { 210 $type = 'label'; 211 } 211 212 # exception: gidNumber is used also in group, but we don't want 212 213 # group list here, really the number ! -
LATMOS-Accounts-Web/root/html/users/address_list.tt
r686 r780 18 18 [% END %] 19 19 [% IF NOT c.req.param('add_addr') %] 20 [% IF c.model('Accounts').db.check_acl(user, 'l', 'w') && 21 c.model('Accounts').db.check_acl('address', '@CREATE', 'w') %] 20 22 <tr><td colspan=2 align="center"> 21 23 <form action="[% c.uri_for(username, subform) %]" method="POST"> … … 25 27 </td></tr> 26 28 [% END %] 29 [% END %] 27 30 </table> 28 31 </form>
Note: See TracChangeset
for help on using the changeset viewer.