Update listing.jet.html
Cette révision appartient à :
Parent
d16871d91a
révision
7f1069167a
1 fichiers modifiés avec 6 ajouts et 4 suppressions
|
@ -53,10 +53,12 @@
|
|||
{{ else}}
|
||||
<div class="nyaa-cat nyaa-cat-{{ .SubCategory}}">
|
||||
{{end}}
|
||||
<a href="{{ URL.Parse("/search?c="+.Category+"_"+ .SubCategory) }}" title="{{ T(CategoryName(.Category, .SubCategory)) }}">
|
||||
{{if len(.Languages) == 1 && .Languages[0] != "" }}
|
||||
<img src="img/blank.gif" alt="{{ LanguageName(.Languages[0], T) }}" class="flag flag-{{FlagCode(.Languages[0])}}" title="{{ LanguageName(.Languages[0], T) }}">
|
||||
{{end}}
|
||||
<a href="{{ URL.Parse("/search?c="+.Category+"_"+ .SubCategory) }}" title="{{ T(CategoryName(.Category, .SubCategory)) }}" class="category">
|
||||
{{if .Languages[0] != "" }}
|
||||
<a href="{{ URL.Parse("/search?c="+.Category+"_"+ .SubCategory +"&f=" + FlagCode(.languages[0])) }}">
|
||||
<img src="img/blank.gif" alt="{{ LanguageName(.Languages[0], T) }}" class="flag flag-{{ (len(.Languages) == 1) ? FlagCode(.Languages[0]) : "multiple" }}" title="{{ range _, language := .Languages }}{{ LanguageName(language, T) }}{{ if len(.Languages) != 1 }},{{ end }}{{ end }}">
|
||||
</a>
|
||||
{{end}}
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Référencer dans un nouveau ticket