Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
3a44955b
Commit
3a44955b
authored
Jan 11, 2022
by
Francesc Guasch
Browse files
refactor(frontend): add reload button when no active
parent
96afedf2
Changes
4
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
3a44955b
...
...
@@ -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
;
...
...
lib/Ravada/I18N/ca.po
View file @
3a44955b
...
...
@@ -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"
lib/Ravada/I18N/en.po
View file @
3a44955b
...
...
@@ -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"
templates/main/admin_machines.html.ep
View file @
3a44955b
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment