7c9f31da09
Closes #3 Signed-off-by: Xe Iaso <xe@tailscale.com>
19 lines
633 B
Cheetah
19 lines
633 B
Cheetah
{{template "header" .}}
|
|
|
|
{{if .UserInfo}}
|
|
{{if ne .PasterUserID .UserID}}
|
|
<div class="right">{{.PasterDisplayName}} <img style="width:32px;height:32px" src="{{.PasterProfilePicURL}}" /></div>
|
|
{{end}}
|
|
{{else}}
|
|
<div class="right">{{.PasterDisplayName}} <img style="width:32px;height:32px" src="{{.PasterProfilePicURL}}" /></div>
|
|
{{end}}
|
|
|
|
<p>Created at {{.CreatedAt}}</p>
|
|
|
|
<pre><code>{{.Data}}
|
|
</code></pre>
|
|
|
|
<a href="/paste/{{.ID}}">Permalink</a> - <a href="/paste/{{.ID}}/dl">Download</a> - <a href="/paste/{{.ID}}/raw">Raw</a>{{if eq .UserID .PasterUserID}} - <a href="/api/delete/{{.ID}}">Delete</a>{{end}}
|
|
|
|
{{template "footer" .}}
|