Merge branch 'master' of git.freesoftwareextremist.com:public/bloat
[bloat] / templates / navigation.tmpl
index fe834761decbb01908fab03b09de192648ce1a3b..a85f9fdbdbfb56f0b0f8a6637daa6159b8b093cd 100644 (file)
@@ -1,3 +1,4 @@
+{{with .Data}}
 <div class="user-info">
        <div class="user-info-img-container">
                <a class="img-link" href="/timeline/home" title="home">
@@ -14,6 +15,7 @@
                <div>
                        <a class="nav-link" href="/timeline/home">home</a>
                        <a class="nav-link" href="/notifications">notifications{{if gt .NotificationCount 0}}({{.NotificationCount}}){{end}}</a>
+                       <a class="nav-link" href="/timeline/direct">direct</a>
                        <a class="nav-link" href="/timeline/local">local</a>
                        <a class="nav-link" href="/timeline/twkn">twkn</a>
                        <a class="nav-link" href="/search">search</a>
@@ -25,3 +27,4 @@
                </div>
        </div>
 </div>
+{{end}}