show private studies in list widgets

pull/5150/head
Thibault Duplessis 2019-05-28 13:09:57 +02:00
parent e6845ffe78
commit 0698281e8e
2 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,10 @@ object bits {
div(
tag(cls := "study-name")(s.study.name.value),
span(
!s.study.isPublic option frag(
iconTag("a")(cls := "private", ariaTitle("Private")),
" "
),
iconTag(if (s.liked) "" else ""),
" ",
s.study.likes.value,

View File

@ -63,6 +63,9 @@ $c-study: $c-primary;
display: none;
}
}
.private {
color: $c-brag;
}
}
&:hover {
background: mix($c-study, $c-bg-box, 10%);