From a5c792b78275a88a9f2d5c80861c48bde3430722 Mon Sep 17 00:00:00 2001
From: tianqilu <1336601986@qq.com>
Date: Sun, 14 May 2023 21:10:19 +0800
Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/templates/userpage_get.html | 12 ++++++------
app/user_service.py | 7 +++----
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html
index 6d43e36..0ee66dc 100644
--- a/app/templates/userpage_get.html
+++ b/app/templates/userpage_get.html
@@ -37,16 +37,16 @@
English Pal for {{ username }}
-<<<<<<< HEAD
退出
重设密码
- {% if flashed_messages != "" %}
-
{{ flashed_messages|safe }}
+ {% if flashed_messages != [] %}
+
+ {{ flashed_messages|safe }}
+
{% endif %}
-=======
->>>>>>> d9f6df7fbe585395a19b9a08c411d841b6b89fd4
+
{% if username == admin_name %}
管理
@@ -123,7 +123,7 @@
{% if d_len > 0 %}
- 我的生词簿
+ 我的生词簿