Changeset 1987


Ignore:
Timestamp:
04/20/17 18:30:01 (7 years ago)
Author:
nanardon
Message:

Add page to create objects from CSV files

Location:
trunk/LATMOS-Accounts-Web
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/MANIFEST

    r1946 r1987  
    5757lib/LATMOS/Accounts/Web/Controller/Summary/Offices.pm 
    5858lib/LATMOS/Accounts/Web/Controller/Summary/Tree.pm 
     59lib/LATMOS/Accounts/Web/Controller/Tools/CSV.pm 
    5960lib/LATMOS/Accounts/Web/Controller/Users.pm 
    6061lib/LATMOS/Accounts/Web/Controller/Users/Employment.pm 
     
    143144root/html/summary/rh/index.tt 
    144145root/html/summary/tree/index.tt 
     146root/html/tools/csv/index.tt 
     147root/html/tools/csv/parseCSV.tt 
    145148root/html/users/Display.tt 
    146149root/html/users/address.tt 
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/I18N/fr.po

    r1865 r1987  
    4646msgstr "(autre)" 
    4747 
    48 #: root/html/includes/sidebar.tt:76 
     48#: root/html/includes/sidebar.tt:89 
    4949msgid "About" 
    5050msgstr "À propos" 
     
    7676msgstr "Connecté en tant que" 
    7777 
    78 #: root/html/includes/sidebar.tt:37 
     78#: root/html/includes/sidebar.tt:38 
    7979msgid "Create" 
    8080msgstr "Créer" 
     
    101101msgstr "Fin de circuit d'entrée" 
    102102 
     103#: root/html/tools/csv/index.tt:10 
     104msgid "Example:" 
     105msgstr "" 
     106 
    103107#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:87 
    104108msgid "Expire" 
     
    113117msgstr "Du" 
    114118 
    115 #: root/html/includes/wrapper.tt:57 
     119#: root/html/includes/sidebar.tt:51 
     120#, fuzzy 
     121msgid "From CVS" 
     122msgstr "Du" 
     123 
     124#: root/html/includes/wrapper.tt:59 
    116125msgid "IT management" 
    117126msgstr "Gestion informatique" 
     
    129138msgstr "Nouveau statut" 
    130139 
     140#: root/html/includes/sidebar.tt:82 
     141#, fuzzy 
     142msgid "Others Statistics" 
     143msgstr "Statistiques" 
     144 
     145#: root/html/tools/csv/index.tt:29 
     146msgid "Select a CSV file" 
     147msgstr "" 
     148 
    131149#: root/html/summary/accage/index.tt:13 
    132150msgid "Show inactive accounts" 
     
    149167msgstr "Cumulé" 
    150168 
    151 #: root/html/includes/sidebar.tt:64 
     169#: root/html/includes/sidebar.tt:56 root/html/includes/sidebar.tt:71 
    152170msgid "Statistics" 
    153171msgstr "Statistiques" 
     
    158176msgstr "Statut" 
    159177 
    160 #: root/html/includes/sidebar.tt:57 
     178#: root/html/includes/sidebar.tt:64 
    161179msgid "Status evolution" 
    162180msgstr "Évolution des status" 
     
    166184msgstr "Il n'y a rien ici" 
    167185 
     186#: root/html/tools/csv/index.tt:1 
     187msgid "" 
     188"This page allow you to create multiple object from information contains in\n" 
     189"a CSV file.\n" 
     190"\n" 
     191"The first line must contains the name of attributes, each following lines\n" 
     192"contains single value attribute for futur objects.\n" 
     193"\n" 
     194"For user, the object name can be omitted, object name will be built from\n" 
     195"firstname and lastname (sn and givenName)." 
     196msgstr "" 
     197 
    168198#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:78 
    169199msgid "Today" 
    170200msgstr "Aujourd'hui" 
    171201 
    172 #: root/html/includes/sidebar.tt:49 
    173 msgid "Tools" 
    174 msgstr "Outils" 
     202#: root/html/tools/csv/index.tt:21 
     203msgid "Type of object to create" 
     204msgstr "" 
    175205 
    176206#: root/html/includes/sidebar.tt:27 
     
    196226msgid "to" 
    197227msgstr "à" 
     228 
     229#~ msgid "Tools" 
     230#~ msgstr "Outils" 
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/I18N/messages.pot

    r1865 r1987  
    3939msgstr "" 
    4040 
    41 #: root/html/includes/sidebar.tt:76 
     41#: root/html/includes/sidebar.tt:89 
    4242msgid "About" 
    4343msgstr "" 
     
    6767msgstr "" 
    6868 
    69 #: root/html/includes/sidebar.tt:37 
     69#: root/html/includes/sidebar.tt:38 
    7070msgid "Create" 
    7171msgstr "" 
     
    9191msgstr "" 
    9292 
     93#: root/html/tools/csv/index.tt:10 
     94msgid "Example:" 
     95msgstr "" 
     96 
    9397#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:87 
    9498msgid "Expire" 
     
    103107msgstr "" 
    104108 
    105 #: root/html/includes/wrapper.tt:57 
     109#: root/html/includes/sidebar.tt:51 
     110msgid "From CVS" 
     111msgstr "" 
     112 
     113#: root/html/includes/wrapper.tt:59 
    106114msgid "IT management" 
    107115msgstr "" 
     
    119127msgstr "" 
    120128 
     129#: root/html/includes/sidebar.tt:82 
     130msgid "Others Statistics" 
     131msgstr "" 
     132 
     133#: root/html/tools/csv/index.tt:29 
     134msgid "Select a CSV file" 
     135msgstr "" 
     136 
    121137#: root/html/summary/accage/index.tt:13 
    122138msgid "Show inactive accounts" 
     
    139155msgstr "" 
    140156 
    141 #: root/html/includes/sidebar.tt:64 
     157#: root/html/includes/sidebar.tt:56 root/html/includes/sidebar.tt:71 
    142158msgid "Statistics" 
    143159msgstr "" 
     
    147163msgstr "" 
    148164 
    149 #: root/html/includes/sidebar.tt:57 
     165#: root/html/includes/sidebar.tt:64 
    150166msgid "Status evolution" 
    151167msgstr "" 
     
    155171msgstr "" 
    156172 
     173#: root/html/tools/csv/index.tt:1 
     174msgid "" 
     175"This page allow you to create multiple object from information contains in\n" 
     176"a CSV file.\n" 
     177"\n" 
     178"The first line must contains the name of attributes, each following lines\n" 
     179"contains single value attribute for futur objects.\n" 
     180"\n" 
     181"For user, the object name can be omitted, object name will be built from\n" 
     182"firstname and lastname (sn and givenName)." 
     183msgstr "" 
     184 
    157185#: lib/LATMOS/Accounts/Web/Controller/Json/Timeline.pm:78 
    158186msgid "Today" 
    159187msgstr "" 
    160188 
    161 #: root/html/includes/sidebar.tt:49 
    162 msgid "Tools" 
     189#: root/html/tools/csv/index.tt:21 
     190msgid "Type of object to create" 
    163191msgstr "" 
    164192 
  • trunk/LATMOS-Accounts-Web/root/html/includes/sidebar.tt

    r1866 r1987  
    3636</li> 
    3737 
     38[% IF c.model('Accounts').CanCreateObjects %] 
    3839<li>[% l('Create') %] 
    3940<ul> 
     
    4849        Alias d'objet 
    4950    </a></li> 
     51    <li><a href="[% c.uri_for('/tools/csv') %]"> 
     52        [% l('From CSV...') %] 
     53    </a></li> 
    5054</ul> 
    5155</li> 
     56[% END # IF CanCreateObjects %] 
    5257 
    53 <li>[% l('Tools') %] 
     58<li>[% l('Statistics') %] 
    5459    <ul> 
    5560    [% IF c.config.features.offices_list %] 
Note: See TracChangeset for help on using the changeset viewer.