ui: deprecate static_url

This commit is contained in:
undefined committed 2022-07-13 18:14:23 +08:00
1 parent a065084b11
commit 60fc805c84
4 files changed
+15 -13

No files matched your search

@@ -32,7 +32,7 @@
{% else %}
<span class="user-profile-link">
{% if avatar %}
<img class="small user-profile-avatar v-center" src="{{ static_url('img/avatar.png') }}" width="20" height="20">
<img class="small user-profile-avatar v-center" src="{{ UiContext.cdn_prefix }}img/avatar.png" width="20" height="20">
{% endif %}
<a class="user-profile-name" href="#">
{{ _('Unknown User') }}