master
E. Almqvist 3 years ago
parent d5a4270691
commit 730c957df3
  1. 2
      src/views/stylesheets/style.sass
  2. 11
      src/views/user/profile.slim

@ -288,7 +288,7 @@ ul.button-container
h4
margin: 0
font-weight: normal
color: $shadow_clr
color: $fg_alt_clr
opacity: .8
#posts

@ -10,11 +10,12 @@
h4 = user.bio_text
ul.button-container
- unless true
- unless user.id == session[:userid]
a.button href="mailto:#{user.email}"
li Message
a.button href="/profile/#{user.id}/rep"
li Rep
li Email
- else
a.button href="/settings"
li Settings
a.button href="/profile/#{user.id}/posts"
li Posts
@ -41,6 +42,8 @@
- else
h3.red = user.reputation_text
h4 Based on user reviews
a.button href="/profile/#{user.id}/rep"
| + Write a review
#posts.card
h2 Recent posts

Loading…
Cancel
Save