Add a new slide on the index to talk about etherpad integration

Only if etherpad is enabled
master
Daniel Berteaud 11 years ago
parent 261ac0bdc3
commit c1418e3aee
  1. 2
      lib/Vroom/I18N/en.pm
  2. 2
      lib/Vroom/I18N/fr.pm
  3. BIN
      public/img/note.png
  4. 7
      public/vroom.pl
  5. 16
      templates/default/index.html.ep

@ -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.",

@ -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 " .

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -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 {

@ -68,6 +68,9 @@
<li data-target="#carouselIndex" data-slide-to="4"></li>
<li data-target="#carouselIndex" data-slide-to="5"></li>
<li data-target="#carouselIndex" data-slide-to="6"></li>
<% if ($etherpad eq 'true'){ %>
<li data-target="#carouselIndex" data-slide-to="7"></li>
<% } %>
</ol>
<div id="carouselIndexContent" class="carousel-inner">
<div class="item carouselIndexItem col-xs-10 col-xs-offset-1">
@ -147,6 +150,19 @@
</h2>
</div>
</div>
<% if ($etherpad eq 'true') { %>
<div class="item carouselIndexItem col-xs-10 col-xs-offset-1">
<img class="img-responsive carouselLogo" src="<%= $self->get_url('/') %>img/note.png" alt="<%=l 'COLLABORATIVE_NOTETAKING' %>">
<p>
<%=l 'TAKE_NOTE_IN_REALTIME' %>
</p>
<div class="carousel-caption hidden-xs carouselIndexCaption">
<h2>
<%=l 'COLLABORATIVE_NOTETAKING' %>
</h2>
</div>
</div>
<% } %>
</div>
<a class="left carousel-control" href="#carouselIndex" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>

Loading…
Cancel
Save