File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {% load i18n %}
2+ < div class ="bg-base-200 bg-cover bg-no-repeat bg-center font-semibold flex items-center justify-center relative select-none text-important dark:bg-base-700 after:absolute after:inset-0 after:inset-ring after:inset-ring-base-800/10 dark:after:inset-ring-base-200/10 {% if size == "md " %} h-[34px] min-w-[34px] w-[34px] {% elif size == "sm " %} h-[30px] min-w-[30px] w-[30px] {% elif size == "xs " %} h-[26px] min-w-[26px] w-[26px] text-xs {% else %} h-[38px] min-w-[38px] w-[38px] {% endif %} {% if circle %}rounded-full after:rounded-full{% else %}rounded-default after:rounded-default{% endif %} "
3+ {% if user.profile.avatar %}style="background-image: url('{{ user.profile.avatar.url }}'); "{% endif %} >
4+ {% if not user.profile.avatar %}{{ user.get_full_name.0|default:user.get_username.0|upper }}{% endif %}
5+ </ div >
You can’t perform that action at this time.
0 commit comments