Commit 0d9be919 authored by Carlos Juan's avatar Carlos Juan Committed by Francesc Guasch
Browse files

feat: improve main screen bases listing

Show first the domains that the user has already cloned
order by id_clone in the list

feat #468
parent 8cc50fff
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%= include 'main/list_bases_ng_head' %= include 'main/list_bases_ng_head'
<!--MACHINES SELECTION--> <!--MACHINES SELECTION-->
<div class="card-body"> <div class="card-body">
<div ng-repeat="machine in machines" <div ng-repeat="machine in machines | orderBy: 'id_clone'"
class="col-sm-4 d-inline-block mb-2" class="col-sm-4 d-inline-block mb-2"
ng-show="machine.is_public || (!machine.is_public && !only_public)"> ng-show="machine.is_public || (!machine.is_public && !only_public)">
<div class="card card-success"> <div class="card card-success">
......
Supports Markdown
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