
- Convert most CSS class names to BEM style - Improve a significant amount of layouts / UI bugs - Probably add a bunch of UI bugs
18 lines
460 B
Smarty
18 lines
460 B
Smarty
{{define "timeline"}}
|
|
{{range .Items}}
|
|
{{template "tweet" .}}
|
|
{{end}}
|
|
|
|
<div class="timeline__bottom">
|
|
{{if .CursorBottom.CursorPosition.IsEnd}}
|
|
<label class="timeline__eof-label">End of feed</label>
|
|
{{else}}
|
|
<a class="timeline__show-more-button button"
|
|
hx-get="?{{(cursor_to_query_params .CursorBottom)}}"
|
|
hx-target=".timeline__bottom"
|
|
hx-swap="outerHTML"
|
|
>Show more</a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|