|
|
@ -41,10 +41,8 @@ |
|
|
|
<nav> |
|
|
|
<nav> |
|
|
|
<span class="views{{if not .IsOwner}} owner-visible{{end}}" dir="ltr"><strong>{{largeNumFmt .Views}}</strong> {{pluralize "view" "views" .Views}}</span> |
|
|
|
<span class="views{{if not .IsOwner}} owner-visible{{end}}" dir="ltr"><strong>{{largeNumFmt .Views}}</strong> {{pluralize "view" "views" .Views}}</span> |
|
|
|
{{if .IsCode}}<a href="/{{.ID}}.txt" rel="noindex" dir="{{.Direction}}">View raw</a>{{end}} |
|
|
|
{{if .IsCode}}<a href="/{{.ID}}.txt" rel="noindex" dir="{{.Direction}}">View raw</a>{{end}} |
|
|
|
{{ if .Username }} |
|
|
|
{{ if and .Username .IsOwner }} |
|
|
|
{{if .IsOwner}} |
|
|
|
|
|
|
|
<a href="/{{if .SingleUser}}d/{{end}}{{.ID}}/edit" dir="{{.Direction}}">Edit</a> |
|
|
|
<a href="/{{if .SingleUser}}d/{{end}}{{.ID}}/edit" dir="{{.Direction}}">Edit</a> |
|
|
|
{{end}} |
|
|
|
|
|
|
|
<a class="xtra-feature dash-nav" href="/me/posts/" dir="{{.Direction}}">Drafts</a> |
|
|
|
<a class="xtra-feature dash-nav" href="/me/posts/" dir="{{.Direction}}">Drafts</a> |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|