parent
dfb4fed99b
commit
abc64e1ee9
@ -1,13 +1,13 @@
|
||||
{% load i18n %}
|
||||
<div class="widget-login">
|
||||
{% if apps %}
|
||||
{% load i18n %} {# 加载国际化标签 #}
|
||||
<div class="widget-login"> {# 登录小部件容器 #}
|
||||
{% if apps %} {# 如果存在OAuth应用 #}
|
||||
<small>
|
||||
{% trans 'quick login' %}:
|
||||
{% trans 'quick login' %}: {# 快速登录提示文字 #}
|
||||
</small>
|
||||
{% for icon,url in apps %}
|
||||
<a href="{{ url }}" rel="nofollow">
|
||||
<span class="icon-sn-{{ icon }}"></span>
|
||||
{% for icon,url in apps %} {# 遍历OAuth应用 #}
|
||||
<a href="{{ url }}" rel="nofollow"> {# OAuth登录链接 #}
|
||||
<span class="icon-sn-{{ icon }}"></span> {# 社交网络图标 #}
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in new issue