diff options
Diffstat (limited to 'account/templates')
-rw-r--r-- | account/templates/account/list_approved.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/account/templates/account/list_approved.html b/account/templates/account/list_approved.html index 6295765..a58312b 100644 --- a/account/templates/account/list_approved.html +++ b/account/templates/account/list_approved.html @@ -15,7 +15,7 @@ <h2>审定名单</h2> <br> {# alert if the user not approved #} - {% if profile.is_approved == 'N' %} + {% if profile and profile.is_approved == 'N' %} <div class="alert alert-warning"> 很抱歉,您未能被批准参加本次SKA暑期学校,感谢您的关注和参与。 </div> |