Updated dashboard

This commit is contained in:
FM1337
2017-06-24 18:57:36 -03:00
parent cb01452c44
commit 1cd798e947
2 changed files with 16 additions and 9 deletions

View File

@ -38,14 +38,15 @@ component Dashboard(posts []*arn.Post, followers []*arn.User)
Icon("comment")
span ...
.widget.mountable
h3.widget-title Contacts
if len(followers) > 0
.widget.mountable
h3.widget-title Contacts
each follower in followers
a.widget-element.ajax(href="/+" + follower.Nick)
.widget-element-text
Icon("address-card")
span!= follower.Nick
each follower in followers
a.widget-element.ajax(href="/+" + follower.Nick)
.widget-element-text
Icon("address-card")
span= follower.Nick
.widget.mountable
h3.widget-title Follow