mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-07 09:22:46 +02:00
Put informations on a separate page for those with no script
This commit is contained in:
@@ -132,6 +132,11 @@ sub startup {
|
||||
}
|
||||
)->name('index');
|
||||
|
||||
$r->get('/about' => sub {
|
||||
shift->render(template => 'about');
|
||||
}
|
||||
)->name('about');
|
||||
|
||||
$r->post('/' => sub {
|
||||
my $c = shift;
|
||||
my $upload = $c->param('file');
|
||||
|
||||
@@ -50,6 +50,7 @@ our %Lexicon = (
|
||||
'7_days' => '7 days',
|
||||
'30_days' => '30 days',
|
||||
'1_year' => 'One year',
|
||||
'back-to-index' => 'Back to homepage'
|
||||
);
|
||||
|
||||
1;
|
||||
|
||||
@@ -50,6 +50,7 @@ our %Lexicon = (
|
||||
'7_days' => '7 jours',
|
||||
'30_days' => '30 jours',
|
||||
'1_year' => 'Un an',
|
||||
'back-to-index' => 'Retour à la page d\'accueil'
|
||||
);
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user