From 5227fa9cf439388a54cbe509c84c533dee560f08 Mon Sep 17 00:00:00 2001 From: Avris Date: Thu, 24 Dec 2020 13:00:37 +0100 Subject: [PATCH] #150 [user] allow disabling gravatar --- components/Account.vue | 35 ++++++++++++++++++--------- components/Avatar.vue | 8 +++--- migrations/014-removable-gravatar.sql | 7 ++++++ server/avatar.js | 8 +++--- server/routes/user.js | 2 +- src/helpers.js | 8 +++--- 6 files changed, 45 insertions(+), 23 deletions(-) create mode 100644 migrations/014-removable-gravatar.sql diff --git a/components/Account.vue b/components/Account.vue index 67ed2141..bd5cf3cd 100644 --- a/components/Account.vue +++ b/components/Account.vue @@ -6,18 +6,26 @@

-

- Gravatar: - - - -

-

- - - user.avatar.change - -

+
+
+ Gravatar: + + + +
+
+ + + user.avatar.change + +
+
+ + + crud.remove + +
+

user.account.admin

@@ -112,6 +120,7 @@