Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fill Username input if UserID query isn't equal to 0

Cette révision appartient à :
kilo 2017-09-06 08:36:32 +02:00 révisé par GitHub
Parent a78f4117c3
révision 786ff3a3dc

Voir le fichier

@ -36,7 +36,7 @@
<option value="4" {{if Search.Status == 4}}selected{{end}}>A+</option>
</select>
{{ T("limit_torrent_count")}}: <input type="number" name="limit" value="{{ Navigation.MaxItemPerPage }}" class="form-input spacing" min="1" max="300"/>
{{ T("from_user") }}: <input type="text" name="user" placeholder="Username/#ID" value="{{ Search.User }}" class="form-input refine-user"/>
{{ T("from_user") }}: <input type="text" name="user" placeholder="Username/#ID" value="{{ Search.User == "" ? (Search.UserID == 0 ? "" : ("#" + Search.UserID)) : Search.User }}" class="form-input refine-user"/>
</span>
<span class="form-refine">
<span class="spacing">{{ T("between")}}</span>