File tree Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 15571557 "core.errorsomedatanotdownloaded" : " local_moodlemobileapp" ,
15581558 "core.errorsync" : " local_moodlemobileapp" ,
15591559 "core.errorsyncblocked" : " local_moodlemobileapp" ,
1560+ "core.errorurlschemeinvalidsite" : " local_moodlemobileapp" ,
15601561 "core.explanationdigitalminor" : " moodle" ,
15611562 "core.favourites" : " moodle" ,
15621563 "core.filename" : " repository" ,
20962097 "core.tag.errorareanotsupported" : " local_moodlemobileapp" ,
20972098 "core.tag.inalltagcoll" : " tag" ,
20982099 "core.tag.itemstaggedwith" : " tag" ,
2100+ "core.tag.noresultsfor" : " tag" ,
20992101 "core.tag.notagsfound" : " tag" ,
21002102 "core.tag.searchtags" : " tag" ,
21012103 "core.tag.showingfirsttags" : " tag" ,
Original file line number Diff line number Diff line change 20972097 "core.tag.errorareanotsupported" : " This tag area is not supported by the app." ,
20982098 "core.tag.inalltagcoll" : " Everywhere" ,
20992099 "core.tag.itemstaggedwith" : " {{$a.tagarea}} tagged with \" {{$a.tag}}\" " ,
2100+ "core.tag.noresultsfor" : " No results for \" {{$a}}\" " ,
21002101 "core.tag.notagsfound" : " No tags matching \" {{$a}}\" found" ,
21012102 "core.tag.searchtags" : " Search tags" ,
21022103 "core.tag.showingfirsttags" : " Showing {{$a}} most popular tags" ,
Original file line number Diff line number Diff line change 44 "inalltagcoll" : " Everywhere" ,
55 "itemstaggedwith" : " {{$a.tagarea}} tagged with \" {{$a.tag}}\" " ,
66 "notagsfound" : " No tags matching \" {{$a}}\" found" ,
7+ "noresultsfor" : " No results for \" {{$a}}\" " ,
78 "searchtags" : " Search tags" ,
89 "showingfirsttags" : " Showing {{$a}} most popular tags" ,
910 "tag" : " Tag" ,
Original file line number Diff line number Diff line change 99 < ion-refresher-content pullingText ="{{ 'core.pulltorefresh' | translate }} "> </ ion-refresher-content >
1010 </ ion-refresher >
1111 < core-loading [hideUntil] ="loaded ">
12- < ion-list >
12+ < ion-list *ngIf =" hasUnsupportedAreas || areas " >
1313 < ion-item text-wrap *ngIf ="hasUnsupportedAreas " class ="core-warning-item ">
1414 < ion-icon item-start name ="warning " color ="warning "> </ ion-icon >
1515 {{ 'core.tag.warningareasnotsupported' | translate }}
@@ -19,6 +19,7 @@ <h2>{{ area.nameKey | translate }}</h2>
1919 < ion-badge item-end *ngIf ="area.badge "> {{ area.badge }}</ ion-badge >
2020 </ a >
2121 </ ion-list >
22+ < core-empty-box icon ="fa-tag " *ngIf ="!hasUnsupportedAreas && (!areas || !areas.length) " [message] ="'core.tag.noresultsfor' | translate: { $a: tagName } "> </ core-empty-box >
2223 </ core-loading >
2324 </ ion-content >
2425</ core-split-view >
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ export class CoreTagProvider {
166166
167167 return Promise . reject ( error ) ;
168168 } ) . then ( ( response ) => {
169- if ( ! response || ! response . length ) {
169+ if ( ! response ) {
170170 return Promise . reject ( null ) ;
171171 }
172172
You can’t perform that action at this time.
0 commit comments