1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/ui/language/language.component.html
Patrik J. Braun 0d3b8823e4 ui directory refactoring
adding thumbnail loader for faces
2019-03-03 10:30:12 +01:00

20 lines
625 B
HTML

<div class="dropdown" dropdown>
<button dropdownToggle
class="btn btn-secondary dropdown-toggle"
type="button"
id="language"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="true"
[ngClass]="isDark?'dark':''">
<ng-container *ngIf="current != null">
{{current}}
</ng-container>
<span *ngIf="current == null" class="oi oi-globe"></span>
</button>
<div *dropdownMenu class="dropdown-menu" aria-labelledby="language">
<a *ngFor="let lang of languages" class="dropdown-item" href="/{{lang}}">{{lang}}</a>
</div>
</div>