user blogging tweaks
parent
431a298e57
commit
e3279cdad2
|
@ -60,7 +60,7 @@ object post {
|
|||
else
|
||||
a(
|
||||
titleOrText(trans.reportXToModerators.txt(user.username)),
|
||||
cls := "mod report button button-red button-empty",
|
||||
cls := "button button-empty ublog-post__meta__report",
|
||||
href := s"${routes.Report.form}?username=${user.username}&postUrl=${urlencode(s"${netBaseUrl}${urlOf(post).url}")}&reason=comm",
|
||||
dataIcon := ""
|
||||
)
|
||||
|
|
|
@ -13,7 +13,8 @@ final class Env(
|
|||
picfitUrl: lila.memo.PicfitUrl,
|
||||
ircApi: lila.irc.IrcApi,
|
||||
relationApi: lila.relation.RelationApi,
|
||||
captcher: lila.hub.actors.Captcher
|
||||
captcher: lila.hub.actors.Captcher,
|
||||
cacheApi: lila.memo.CacheApi
|
||||
)(implicit
|
||||
ec: scala.concurrent.ExecutionContext
|
||||
) {
|
||||
|
|
|
@ -30,6 +30,15 @@
|
|||
> * {
|
||||
margin: 0 1em;
|
||||
}
|
||||
&__report {
|
||||
color: $c-font-dim !important;
|
||||
&:hover {
|
||||
color: $c-bad !important;
|
||||
}
|
||||
}
|
||||
.user-link {
|
||||
color: $c-link;
|
||||
}
|
||||
}
|
||||
&__image {
|
||||
@extend %box-neat-force;
|
||||
|
|
Loading…
Reference in New Issue