2014-04-03 17:42:54 +02:00
|
|
|
% title $self->l('OOOPS');
|
|
|
|
%= include 'header'
|
|
|
|
%= include 'public_toolbar'
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="jumbotron alert-danger">
|
|
|
|
<h1><%=l 'ERROR_OCCURED' %></h1>
|
2014-05-07 16:55:39 +02:00
|
|
|
<p><%= $msg %></p>
|
|
|
|
<div class="btn-group">
|
|
|
|
<a class="btn btn-primary btn-lg" role="button" href="<%= $self->url_for('/') %>"><%=l 'BACK_TO_MAIN_MENU' %></a>
|
|
|
|
<% if ($err eq 'ERROR_NAME_CONFLICT'){ %>
|
|
|
|
<a class="btn btn-default btn-lg" role="button" href="<%= $self->url_for('/') . $room %>"><%=l 'JOIN_THIS_ROOM' %></a>
|
2014-05-12 18:54:19 +02:00
|
|
|
<% } elsif ($err eq 'WRONG_PASSWORD'){ %>
|
|
|
|
<a class="btn btn-default btn-lg" role="button" href="<%= $self->url_for('/password') . '/' . $room %>"><%=l 'TRY_AGAIN' %></a>
|
2014-05-07 16:55:39 +02:00
|
|
|
<% } %>
|
|
|
|
</div>
|
2014-04-03 17:42:54 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
%= include 'footer'
|