From 529bb6336e5acea10b83d92b5da8525d934f76d5 Mon Sep 17 00:00:00 2001 From: Vicente Ferrari Smith Date: Wed, 13 May 2026 21:03:49 +0200 Subject: [PATCH] web mobile changes --- cmd/party/users_test.go | 2 +- web/html/base.layout.tmpl | 2 +- web/html/home.page.tmpl | 2 +- web/html/home_anonymous.page.tmpl | 2 +- web/html/mps.page.tmpl | 2 +- web/html/parlvotedetail.page.tmpl | 2 +- web/html/parlvotesrows.frag.tmpl | 2 +- web/html/register.page.tmpl | 4 ++-- web/static/style.css | 29 +++++++++++++++++++++++++++++ 9 files changed, 38 insertions(+), 9 deletions(-) diff --git a/cmd/party/users_test.go b/cmd/party/users_test.go index abb174f..b56ea54 100644 --- a/cmd/party/users_test.go +++ b/cmd/party/users_test.go @@ -18,7 +18,7 @@ func TestReadUserHandler(t *testing.T) { code, _, body := ts.getWithToken(t, "/v1/users/1", token) if code != 200 { - t.Errorf("want %d; got %d", 200, code) + t.Errorf("want %d; got %d", 403, code) } if !bytes.Contains(body, []byte("An old silent pond...")) { diff --git a/web/html/base.layout.tmpl b/web/html/base.layout.tmpl index 4f7bbdf..faa037b 100644 --- a/web/html/base.layout.tmpl +++ b/web/html/base.layout.tmpl @@ -13,7 +13,7 @@ {{if .AuthenticatedUser}}