46 lines
862 B
Plaintext
46 lines
862 B
Plaintext
-extends "base.haml"
|
|
-block meta
|
|
%link(rel="stylesheet" type="text/css" href="/style/users.css")
|
|
|
|
-block content
|
|
%fieldset.section
|
|
%legend -> =user.display_name
|
|
|
|
#info
|
|
.avatar
|
|
%div
|
|
-if user.domain != app.config.host
|
|
%p.handle
|
|
%a(href="{{user.page_url}}" target="_new") << @{{user.handle}}
|
|
|
|
-else
|
|
%p.handle << @{{user.handle}}
|
|
|
|
%p.bio << {{user.bio | safe}}
|
|
|
|
#table
|
|
-for key, value in user.info.items()
|
|
.item.section
|
|
.key << {{key | safe}}
|
|
.value -> {{value | safe}}
|
|
|
|
.item.section
|
|
.key << Joined
|
|
.value -> =user.created.strftime("%b %-d, %Y")
|
|
|
|
#counts
|
|
#posts.section
|
|
.count -> =count.posts
|
|
.title << Merps
|
|
|
|
#following.section
|
|
.count -> =count.following
|
|
.title << Following
|
|
|
|
#followers.section
|
|
.count -> =count.followers
|
|
.title << Followers
|
|
|
|
#posts.section
|
|
[posts go here]
|