From abc64e1ee9796455968095989446f7b818749533 Mon Sep 17 00:00:00 2001 From: pa2g3nmk9 <3474779149@qq.com> Date: Thu, 6 Nov 2025 23:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/DjangoBlog-master/tem?= =?UTF-8?q?plates/oauth/oauth=5Fapplications.html'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/oauth/oauth_applications.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/DjangoBlog-master/templates/oauth/oauth_applications.html b/src/DjangoBlog-master/templates/oauth/oauth_applications.html index a841ad2..191679b 100644 --- a/src/DjangoBlog-master/templates/oauth/oauth_applications.html +++ b/src/DjangoBlog-master/templates/oauth/oauth_applications.html @@ -1,13 +1,13 @@ -{% load i18n %} -
- {% if apps %} +{% load i18n %} {# 加载国际化标签 #} +
{# 登录小部件容器 #} + {% if apps %} {# 如果存在OAuth应用 #} - {% trans 'quick login' %}: + {% trans 'quick login' %}: {# 快速登录提示文字 #} - {% for icon,url in apps %} - - + {% for icon,url in apps %} {# 遍历OAuth应用 #} + {# OAuth登录链接 #} + {# 社交网络图标 #} {% endfor %} {% endif %} -
+
\ No newline at end of file