]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/menu/language-chooser.component.html
Redesign account's channels page
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / language-chooser.component.html
index c7960989831d4e5adb1c1b463f0774bbd8981db9..8aa7b9ab2f451fddae456a343a58d27e8c4f02c4 100644 (file)
@@ -1,7 +1,7 @@
 <ng-template #modal let-hide="close">
   <div class="modal-header">
     <h4 i18n class="modal-title">Change the language</h4>
-    <span class="close" aria-label="Close" role="button" (click)="hide()"></span>
+    <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
   </div>
 
 
@@ -10,6 +10,6 @@
   </a>
 
   <div class="modal-body">
-    <a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)">{{ lang.label }}</a>
+    <a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)" [lang]=lang.iso>{{ lang.label }}</a>
   </div>
 </ng-template>