{{define "body"}}

News

{{template "flashes" .}}
Add to transmet
Drag this link to bookmark bar and click anywhere to add a link
 
{{range $news_post := .news}} {{template "row-news" dict "post" $news_post "categories" $.categories "csrfField" $.csrfField}} {{end}}
{{end}} {{define "row-news"}}
{{truncate .post.Title 100}}
 
{{truncate .post.Url 100}}
Edit
 
{{truncate .post.Notes 500}}
{{ .csrfField }}
{{end}} {{define "launch-add"}} javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='{{.url}}/news/add',l=d.location,e=encodeURIComponent,u=f+'?popup=1&url='+e(l.href)+'&title='+e(d.title);a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=410'))l.href=u;};if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0); else a();void(0) {{end}}