Closed donghahaha closed 1 year ago
Hi @donghahaha which is the url of your logout view?
User links are cloned from the original ones in the navbar:
...
let cls = 'view-site'
if (/password_change/.test($(el).attr('href'))) {
cls = 'password'
} else if (/logout/.test($(el).attr('href')) || $(el).attr('data-item') === 'logout') {
cls = 'logout'
}
...
Maybe Baton fails detecting the logout link in your case
@donghahaha you just need to upgrade baton, that was fixed in f588af56cb3c2dd6e142b5e2d8cefc007077dcae
I made django admin page like above by using django-baton, but I can't find logout icon. Just "View site" and "Change password".
Does anyone know why this is happening?