Implemented ratings UI

This commit is contained in:
2017-06-08 11:51:34 +02:00
parent 74b405e4b4
commit 4a6e4378ce
12 changed files with 92 additions and 18 deletions

View File

@ -11,7 +11,6 @@ const maxPosts = 5
// Get ...
func Get(ctx *aero.Context) string {
user := utils.GetUser(ctx)
if user != nil {
@ -30,5 +29,5 @@ func Get(ctx *aero.Context) string {
return ctx.HTML(components.Dashboard(posts))
}
return ctx.HTML("ARN 4.0 is currently under construction.<br><a href='https://paypal.me/blitzprog' target='_blank' rel='noopener'>Support the development</a><br><a href='/auth/google'>Login via Google</a>")
return ctx.HTML("ARN 4.0 is currently under construction.<br><a href='https://paypal.me/blitzprog' target='_blank' rel='noopener'>Support the development</a>")
}