mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: deprecate static_url
This commit is contained in:
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') }}
|
||||
|
||||
Reference in new issue
Block a user