Commit 3a44955b authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(frontend): add reload button when no active

parent 96afedf2
......@@ -3,7 +3,7 @@ package Ravada;
use warnings;
use strict;
our $VERSION = '1.1.2';
our $VERSION = '1.3.0-beta6';
use Carp qw(carp croak cluck);
use Data::Dumper;
......
......@@ -1103,3 +1103,9 @@ msgstr "Anònim"
msgid "This name is duplicated"
msgstr "Aquest nom està duplicat"
msgid "There are no active virtual machines"
msgstr "No hi han màquines virtuals actives"
msgid "reload list"
msgstr "torna a carregar la llista"
......@@ -1045,3 +1045,9 @@ msgstr "Pool"
msgid "Prepare this machine as a base to create clones from it."
msgstr "Prepare this machine as a base to create clones from it."
msgid "There are no active virtual machines"
msgstr "There are no active virtual machines"
msgid "reload list"
msgstr "reload list"
......@@ -276,9 +276,10 @@
</tbody>
</table>
<div ng-show="show_active && !n_show">
There are no active virtual machines.
<button ng-click="reload_list()">reload list</button>
<div ng-cloak="1"
ng-show="list_machines && list_machines_time > 2 && show_active && !n_show">
<%=l 'There are no active virtual machines'%>
<button ng-click="reload_list()"><%=l 'reload list' %></button>
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment