Ignore:
Timestamp:
01/22/16 06:25:19 (8 years ago)
Author:
nanardon
Message:

Update timeline

Location:
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm

    r1622 r1651  
    9797                name => $c->loc('Expire'), 
    9898                date => $expire, 
     99                options => { 
     100                    type => 'alarm', 
     101                } 
     102        }); 
     103    } 
     104    if (my $endcircuit = $ouser->get_attributes('endcircuit')) { 
     105        push(@{$var->{employments}{events}}, { 
     106                name => $c->loc('End of entrance'), 
     107                date => $endcircuit, 
     108                options => { 
     109                    type => 'alarm', 
     110                } 
     111        }); 
     112    } 
     113    if (my $date = $ouser->get_attributes('startEmployment')) { 
     114        push(@{$var->{employments}{events}}, { 
     115                name => $c->loc('Activity start'), 
     116                date => $date, 
     117                options => { 
     118                    type => 'employment', 
     119                    showdate => 1, 
     120                } 
     121        }); 
     122    } 
     123    if (my $date = $ouser->get_attributes('endEmployment')) { 
     124        push(@{$var->{employments}{events}}, { 
     125                name => $c->loc('Activity end'), 
     126                date => $date, 
     127                options => { 
     128                    type => 'employment', 
     129                    showdate => 1, 
     130                } 
    99131        }); 
    100132    } 
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/I18N/fr.po

    r1623 r1651  
    1515"Content-Type: text/plain; charset=UTF-8\n" 
    1616"Content-Transfer-Encoding: 8bit\n" 
     17 
     18#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:125 
     19msgid "Activity end" 
     20msgstr "Fin d'activité" 
     21 
     22#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:115 
     23msgid "Activity start" 
     24msgstr "Début d'activité" 
    1725 
    1826#: root/html/users/employment.tt:134 
     
    4452msgid "Duration" 
    4553msgstr "Durée" 
     54 
     55#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:106 
     56msgid "End of entrance" 
     57msgstr "Fin de circuit d'entrée" 
    4658 
    4759#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:97 
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/I18N/messages.pot

    r1623 r1651  
    1515"Content-Type: text/plain; charset=CHARSET\n" 
    1616"Content-Transfer-Encoding: 8bit\n" 
     17 
     18#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:125 
     19msgid "Activity end" 
     20msgstr "" 
     21 
     22#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:115 
     23msgid "Activity start" 
     24msgstr "" 
    1725 
    1826#: root/html/users/employment.tt:134 
     
    4250#: root/html/users/employment.tt:149 
    4351msgid "Duration" 
     52msgstr "" 
     53 
     54#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:106 
     55msgid "End of entrance" 
    4456msgstr "" 
    4557 
Note: See TracChangeset for help on using the changeset viewer.