Skip to content

Commit

Permalink
Merge branch 'master' into 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntian committed Jun 7, 2024
2 parents 18dbe93 + f2311b9 commit a3a7734
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions seahub/base/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,10 +698,10 @@ def freeze_user(self, notify_admins=False, notify_org_admins=False):

send_html_email_with_dj_template(email2contact_email(u.email),
subject=_('Account %(account)s froze on %(site)s.') % {
"account": self.email,
"account": email2contact_email(self.email),
"site": get_site_name()},
dj_template='sysadmin/user_freeze_email.html',
context={'user': self.email})
context={'user': email2contact_email(self.email)})

# restore current language
translation.activate(cur_language)
Expand Down Expand Up @@ -729,10 +729,10 @@ def freeze_user(self, notify_admins=False, notify_org_admins=False):

send_html_email_with_dj_template(email2contact_email(u.email),
subject=_('Account %(account)s froze on %(site)s.') % {
"account": self.email,
"account": email2contact_email(self.email),
"site": get_site_name()},
dj_template='sysadmin/user_freeze_email.html',
context={'user': self.email})
context={'user': email2contact_email(self.email)})

# restore current language
translation.activate(cur_language)
Expand Down
4 changes: 3 additions & 1 deletion seahub/help/templates/help/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ <h3 class="hd">{% trans "Security and encryption" %}</h3>
</ul>
</div>
</div>
<div class="help-con article col-md-9 ov-auto flex-1" id="right-panel">{% block help_con %}{% endblock %}</div>
<div class="help-con article col-md-9 ov-auto flex-1 h100" id="right-panel">
{% block help_con %}{% endblock %}
</div>
</div>
{% endblock %}

Expand Down

0 comments on commit a3a7734

Please sign in to comment.