bloat/templates/navigation.tmpl

31 lines
1.1 KiB
Cheetah
Raw Normal View History

2020-01-14 16:57:16 +00:00
{{with .Data}}
2019-12-24 14:55:05 +00:00
<div class="user-info">
<div class="user-info-img-container">
2019-12-25 04:30:21 +00:00
<a class="img-link" href="/timeline/home" title="home">
2019-12-24 14:55:05 +00:00
<img class="user-info-img" src="{{.User.AvatarStatic}}" alt="profile-avatar" />
</a>
</div>
<div class="user-info-details-container">
<div>
<span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>
<a class="nav-link" href="/user/{{.User.ID}}">
<span class="status-uname"> {{.User.Acct}} </span>
</a>
</div>
<div>
2019-12-25 04:30:21 +00:00
<a class="nav-link" href="/timeline/home">home</a>
2019-12-24 14:55:05 +00:00
<a class="nav-link" href="/notifications">notifications{{if gt .NotificationCount 0}}({{.NotificationCount}}){{end}}</a>
2020-01-28 20:56:15 +00:00
<a class="nav-link" href="/timeline/direct">direct</a>
2019-12-25 04:30:21 +00:00
<a class="nav-link" href="/timeline/local">local</a>
<a class="nav-link" href="/timeline/twkn">twkn</a>
2019-12-26 19:18:09 +00:00
<a class="nav-link" href="/search">search</a>
2019-12-24 14:55:05 +00:00
<a class="nav-link" href="/about">about</a>
</div>
<div>
2019-12-27 08:06:43 +00:00
<a class="nav-link" href="/settings">settings</a>
2019-12-24 14:55:05 +00:00
<a class="nav-link" href="/signout">sign out</a>
</div>
</div>
</div>
2020-01-14 16:57:16 +00:00
{{end}}