openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f1540dced4f37b68b55d48c5dea07a8f1f343b82
parent 6ac445b8c544adae764a05f43af43298b79c308e
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Mon,  7 Sep 2020 22:23:36 +0300

better topic template

Diffstat:
Mii-node/tpl/header.tpl | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/ii-node/tpl/header.tpl b/ii-node/tpl/header.tpl @@ -14,7 +14,11 @@ <tr> <td class="title"> <span class="logo"><a href="/">{{.Sysname}}</a></span> +{{if gt (len .Topics) 0}} <span class="info">II/IDEC networks {{ with .Echo }} :: <a href="/echo/{{.}}">{{.}}</a> <span class="info">{{index $.Echolist.Info .}}</span>{{end}} +{{ else }} + <span class="info">II/IDEC networks {{ with .Echo }} :: <a href="/{{.}}">{{.}}</a> <span class="info">{{index $.Echolist.Info .}}</span>{{end}} +{{ end }} </span> </td> <td class="links">