mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
close button modal lang
This commit is contained in:
parent
3f492d5436
commit
10e274802b
@ -23,13 +23,6 @@ export class LanguageService {
|
||||
return this.translate.getLangs();
|
||||
}
|
||||
|
||||
/**
|
||||
* get a static list of langs
|
||||
*/
|
||||
public getAvailableLanguagesStatic(): string[] {
|
||||
return this.translate.getLangs();
|
||||
}
|
||||
|
||||
public configureAndInitTranslations(): void {
|
||||
// always save in storage the currentLang used
|
||||
this.translate.onLangChange.subscribe((event: LangChangeEvent) => {
|
||||
|
@ -37,11 +37,10 @@
|
||||
margin: 0.5em;
|
||||
border: 0;
|
||||
border-radius: 2rem;
|
||||
padding: 0.5rem 1rem 0.5rem 0.25rem;
|
||||
padding: 0.5rem;
|
||||
|
||||
&:hover {
|
||||
background: $primary_color;
|
||||
color: $white;
|
||||
background: $bar-progress-grey;
|
||||
}
|
||||
|
||||
input {
|
||||
|
@ -16,8 +16,9 @@ export class LanguageSelectorComponent implements OnInit {
|
||||
public availableLanguages: any = ['FR', 'EN', 'ES'];
|
||||
language: string;
|
||||
language_to_apply: string;
|
||||
display_lang_dialog: boolean = true;
|
||||
display_lang_dialog: boolean = false;
|
||||
display_dynamic_langs: boolean = false;
|
||||
|
||||
availableLanguagesStatic: any = [
|
||||
{ name: 'Arabic', value: 'ar' },
|
||||
{ name: 'German', value: 'de' },
|
||||
|
@ -32,6 +32,7 @@ $input-shadow: none;
|
||||
}
|
||||
.p-dialog {
|
||||
background: transparent !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.cancel-button-reject {
|
||||
@ -44,7 +45,7 @@ $input-shadow: none;
|
||||
margin-left: 1rem;
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
margin-top: 0.15rem;
|
||||
margin-top: 0.2rem;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user