-
-
- {{ location.type | locationIcon}}
- {{ location.names | localName }}
- @if(location.parent){
-
- @if(location.parent.parent){
- {{ location.parent.names | localName:true }}, {{ location.parent.parent.names | localName:true }}
- }
-
- }
-
- @if(getCondition(location) != null){
-
-
-
-
-
-
-
-
{{ getCondition(location).type | weather }}
-
{{ getCondition(location).temperature | temperature }}
-
-
-
-
- @if(location.type != 'City'){
-
-
- {{ res.strings('user_favorites_city_hint') }} {{ conditions.get(location).city.names | localName }}
-
-
+ @for(location of locations; let location = $index; track location) {
+
+
+ {{ location.type | locationIcon}}
+ {{ location.names | localName }}
+ @if(location.parent){
+
+ @if(location.parent.parent){
+ {{ location.parent.names | localName:true }}, {{ location.parent.parent.names | localName:true }}
+ }
+
}
-
- }
-
+
+ @if(getCondition(location) != null){
+
+
+
+
+
+
+
+
{{ getCondition(location).type | weather }}
+
{{ getCondition(location).temperature | temperature }}
+
+
+
+
+ @if(location.type != 'CITY'){
+
+
+ {{ res.strings('user_favorites_city_hint') }} {{ conditions.get(location).city.names | localName }}
+
+
+ }
+
+ }
+
+ }
diff --git a/web-angular/src/app/views-weather/city.component.html b/web-angular/src/app/views-weather/city.component.html
index 2088b1a1..5f415bb2 100644
--- a/web-angular/src/app/views-weather/city.component.html
+++ b/web-angular/src/app/views-weather/city.component.html
@@ -47,7 +47,9 @@