hide friends blogs link to anon

pull/9796/head
Thibault Duplessis 2021-09-14 08:07:31 +02:00
parent 4cf6813ebc
commit c8cf3dac87
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ object bits {
"Community blogs"
),
a(cls := active.has("topics").option("active"), href := routes.Ublog.topics)("Blog topics"),
a(cls := active.has("friends").option("active"), href := routes.Ublog.friends())("Friends blogs"),
ctx.isAuth option a(cls := active.has("friends").option("active"), href := routes.Ublog.friends())(
"Friends blogs"
),
a(cls := active.has("liked").option("active"), href := routes.Ublog.liked())("Liked blog posts"),
ctx.me map { me =>
a(cls := active.has("mine").option("active"), href := routes.Ublog.index(me.username))("My blog")