diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index c2df39f..4c96e21 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -260,6 +260,8 @@ our %Lexicon = ( "TEXT_CHAT" => "Chat Included", "SECURED_TEXT_CHAT" => "Video and audio are not enough ? You can also use the included text chat, and fully secured: " . "your discussions are done directly between members and will never be sent on our servers.", + "COLLABORATIVE_NOTETAKING" => "Realtime notetaking", + "TAKE_NOTE_IN_REALTIME" => "Write your meating notes with others, all in real time with the included editor", "SUPPORTED_BROWSERS" => "Supported browsers", "HELP_BROWSERS_SUPPORTED" => "VROOM works with any modern, standard compliant browsers, which means any " . "recent Mozilla Firefox, Google Chrome or Opera.", diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index 5806adc..336a9e1 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -286,6 +286,8 @@ our %Lexicon = ( "SECURED_TEXT_CHAT" => "La vidéo et le son ne vous suffisent pas ? Vous pouvez aussi utiliser le tchat intégré et " . "entièrement sécurisé: vos discussions se font directement entre les membres, et ne passent " . "à aucun moment par nos serveurs.", + "COLLABORATIVE_NOTETAKING" => "Prise de notes collaborative", + "TAKE_NOTE_IN_REALTIME" => "Prenez des notes tous ensembles, en temps réel grâce à l'éditeur collaboratif intégré", "SUPPORTED_BROWSERS" => "Navigateurs supportés", "HELP_BROWSERS_SUPPORTED" => "VROOM fonctionne avec tous les navigateurs modernes et respectueux des standards. " . "Les technologies employées (WebRTC) étant encore jeunes, seules les versions " . diff --git a/public/img/note.png b/public/img/note.png new file mode 100644 index 0000000..9a46774 Binary files /dev/null and b/public/img/note.png differ diff --git a/public/vroom.pl b/public/vroom.pl index f45cad8..c06d830 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -610,7 +610,12 @@ helper check_invite_token => sub { }; # Route / to the index page -any '/' => 'index'; +any '/' => sub { + my $self = shift; + $self->stash( + etherpad => ($ec) ? 'true' : 'false' + ); +} => 'index'; # Route for the about page get '/about' => sub { diff --git a/templates/default/index.html.ep b/templates/default/index.html.ep index db2db06..09dddd4 100644 --- a/templates/default/index.html.ep +++ b/templates/default/index.html.ep @@ -68,6 +68,9 @@
  • + <% if ($etherpad eq 'true'){ %> +
  • + <% } %> + <% if ($etherpad eq 'true') { %> +
    + +

    + <%=l 'TAKE_NOTE_IN_REALTIME' %> +

    + +
    + <% } %>