Fixing html flags rendering
Cette révision appartient à :
Parent
caa7e499f3
révision
f3a323d7b8
4 fichiers modifiés avec 4 ajouts et 4 suppressions
|
@ -25,7 +25,7 @@
|
|||
<div name="language" class="form-input language">
|
||||
{{ range _, language := GetTorrentLanguages() }}
|
||||
<input type="checkbox" name="lang-{{ language }}" id="lang-{{ language }}">
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ language }}" title="{{LanguageName(language, T)}}"></label>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ import "csrf" }}
|
||||
{{block badge_user()}}
|
||||
<div class="h-user">
|
||||
{{if User }}
|
||||
{{if User.ID > 0 }}
|
||||
<button href="#" class="nav-btn">
|
||||
<div class="user-avatar small"><img src="https://www.gravatar.com/avatar/{{ User.MD5 }}?s=50"></div>
|
||||
<span class="user-info" title="{{ User.Username}}"><span class="hide-md">{{User.Username}}</span></span>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<div name="language" class="form-input language">
|
||||
{{ range _, language := GetTorrentLanguages() }}
|
||||
<input type="checkbox" name="lang-{{ language }}" id="lang-{{ language }}">
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ language }}" title="{{LanguageName(language, T)}}"></label>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ yield errors(name="language")}}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<div name="language" class="form-input language">
|
||||
{{ range _, language := GetTorrentLanguages() }}
|
||||
<input type="checkbox" name="lang-{{ language }}" id="lang-{{ language }}">
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ language }}" title="{{LanguageName(language, T)}}"></label>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ yield errors(name="language")}}
|
||||
|
|
Référencer dans un nouveau ticket