user blogging tweaks
parent
ab31e1a1a2
commit
f0062d5c44
|
@ -86,7 +86,7 @@ object form {
|
|||
form3.group(
|
||||
form("markdown"),
|
||||
trans.ublog.postBody(),
|
||||
help = markdownAvailable.some
|
||||
help = frag(markdownAvailable, br, trans.embedsAvailable()).some
|
||||
)(form3.textarea(_)(rows := 30)),
|
||||
form3.actions(
|
||||
a(href := post.fold(routes.Ublog.index(user.username))(views.html.ublog.post.urlOf))(trans.cancel()),
|
||||
|
|
|
@ -67,7 +67,7 @@ object header {
|
|||
)(
|
||||
splitNumber(trans.nbForumPosts.pluralSame(info.nbForumPosts))
|
||||
),
|
||||
ctx.noKid && info.nbUblogPosts > 0 option a(
|
||||
ctx.noKid && (info.nbUblogPosts > 0 || ctx.is(u)) option a(
|
||||
cls := "nm-item",
|
||||
href := routes.Ublog.index(u.username)
|
||||
)(
|
||||
|
|
|
@ -738,6 +738,7 @@ val `simulFeaturedHelp` = new I18nKey("simulFeaturedHelp")
|
|||
val `simulDescription` = new I18nKey("simulDescription")
|
||||
val `simulDescriptionHelp` = new I18nKey("simulDescriptionHelp")
|
||||
val `markdownAvailable` = new I18nKey("markdownAvailable")
|
||||
val `embedsAvailable` = new I18nKey("embedsAvailable")
|
||||
val `inYourLocalTimezone` = new I18nKey("inYourLocalTimezone")
|
||||
val `tournChat` = new I18nKey("tournChat")
|
||||
val `noChat` = new I18nKey("noChat")
|
||||
|
|
|
@ -900,6 +900,7 @@ Leave empty to start games from the normal initial position.</string>
|
|||
<string name="simulDescription">Simul description</string>
|
||||
<string name="simulDescriptionHelp">Anything you want to tell the participants?</string>
|
||||
<string name="markdownAvailable">%s is available for more advanced syntax.</string>
|
||||
<string name="embedsAvailable">Paste a game URL or a study chapter URL to embed it.</string>
|
||||
<string name="inYourLocalTimezone">In your own local timezone</string>
|
||||
<string name="tournChat">Tournament chat</string>
|
||||
<string name="noChat">No chat</string>
|
||||
|
|
Loading…
Reference in New Issue