mirror of https://github.com/Squidex/squidex.git
committed by
GitHub
18 changed files with 127 additions and 29 deletions
@ -1,12 +1,14 @@ |
|||||
<ng-container *ngIf="path.length === 0; else normalPath"> |
<ng-container *ngIf="path"> |
||||
|
<ng-container *ngIf="path.length === 0; else normalPath"> |
||||
<span class="btn">{{ 'common.searchResults' | sqxTranslate }}</span> |
<span class="btn">{{ 'common.searchResults' | sqxTranslate }}</span> |
||||
</ng-container> |
</ng-container> |
||||
<ng-template #normalPath> |
<ng-template #normalPath> |
||||
<ng-container *ngFor="let item of path; let i = index"> |
<ng-container *ngFor="let item of path; let i = index"> |
||||
<i class="icon-angle-right" *ngIf="i > 0"></i> |
<i class="icon-angle-right" *ngIf="i > 0"></i> |
||||
|
|
||||
<a class="btn" (click)="navigate.emit(item)" [class.force]="i < path.length - 1"> |
<a class="btn" (click)="navigate.emit(item)" [class.force]="i < path.length - 1 || all" [class.first]="i === 0"> |
||||
{{item.folderName | sqxTranslate}} |
{{item.folderName | sqxTranslate}} |
||||
</a> |
</a> |
||||
</ng-container> |
</ng-container> |
||||
</ng-template> |
</ng-template> |
||||
|
</ng-container> |
||||
@ -1,3 +1,7 @@ |
|||||
i { |
i { |
||||
vertical-align: middle; |
vertical-align: middle; |
||||
} |
} |
||||
|
|
||||
|
.first { |
||||
|
padding-left: 0; |
||||
|
} |
||||
Loading…
Reference in new issue