Changeset 1241 for trunk/LATMOS-Accounts-Web
- Timestamp:
- 04/14/14 17:11:40 (10 years ago)
- Location:
- trunk/LATMOS-Accounts-Web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Root.pm
r1207 r1241 4 4 use warnings; 5 5 use base 'Catalyst::Controller'; 6 use utf8; 6 7 7 8 # … … 94 95 netzone => 'netzones', 95 96 site => 'sites', 97 aliases => 'aliases', 98 }->{$ref} || $ref; 99 } 100 101 sub obj_to_label : Private { 102 my ($self, $c, $ref) = @_; 103 my $uri_part = { 104 user => 'Utilisateurs', 105 group => 'Groupes', 106 nethost => 'HÃŽtes réseaux', 107 netzone => 'Zones réseau', 108 site => 'Sites', 109 aliases => 'Alias', 96 110 }->{$ref} || $ref; 97 111 } -
trunk/LATMOS-Accounts-Web/root/html/search/index.tt
r1164 r1241 11 11 [% ELSE %] 12 12 13 <h3>[% otype| html %]</h3>13 <h3>[% c.forward('/obj_to_label', [ otype ]) | html %]</h3> 14 14 <table> 15 15 [% FOREACH name = filter.objectslist %]
Note: See TracChangeset
for help on using the changeset viewer.