f86346ba22
save a few more bytes in client templates shave down img tags and global.js mini parse remove comment in topic alt userinfo
12 lines
593 B
HTML
12 lines
593 B
HTML
<div class="rowblock rowhead widget_online">
|
|
<div class="rowitem"><h1>{{.Name}}</h1></div>
|
|
</div>
|
|
<div class="rowblock rowlist bgavatars not_grid widget_online">
|
|
{{if lt .UserCount 30}}
|
|
{{range .Users}}<div class="rowitem"style="background-image:url('{{.Avatar}}');">
|
|
<img src="{{.Avatar}}"class="bgsub"alt="Avatar"aria-hidden="true">
|
|
<a class="rowTitle" href="{{.Link}}">{{.Name}}</a>
|
|
</div>
|
|
{{else}}<div class="rowitem rowmsg">{{lang "widget.online_none_online"}}</div>{{end}}
|
|
{{else}}<div class="rowitem rowmsg">{{langf "widget.online_some_online" .UserCount}}</div>{{end}}
|
|
</div> |