File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/resources/views/base/inc Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11<li class =" nav-item dropdown pr-4" >
2- <a class =" nav-link" data-toggle =" dropdown" href =" #" role =" button" aria-haspopup =" true" aria-expanded =" false" >
3- <img class =" img-avatar" src =" {{ backpack_avatar_url (backpack_auth ()-> user ()) } }" alt =" {{ backpack_auth ()-> user ()-> name } }" >
2+ <a class =" nav-link" data-toggle =" dropdown" href =" #" role =" button" aria-haspopup =" true" aria-expanded =" false" style =" position : relative ;width : 35px ;height : 35px ;margin : 0 10px ;" >
3+ <img class =" img-avatar" src =" {{ backpack_avatar_url (backpack_auth ()-> user ()) } }" alt =" {{ backpack_auth ()-> user ()-> name } }" onerror =" this.style.display='none'" style =" margin : 0 ;position : absolute ;left : 0 ;z-index : 1 ;" >
4+ <span class =" backpack-avatar-menu-container" style =" position : absolute ;left : 0 ;width : 100% ;background-color : #00a65a ;border-radius : 50% ;color : #FFF ;line-height : 35px ;" >
5+ {{ backpack_user ()-> getAttribute (' name' ) ? mb_substr (backpack_user ()-> name , 0 , 1 , ' UTF-8' ) : ' A' } }
6+ </span >
47 </a >
58 <div class =" dropdown-menu {{ config (' backpack.base.html_direction' ) == ' rtl' ? ' dropdown-menu-left' : ' dropdown-menu-right' } } mr-4 pb-1 pt-1" >
69 <a class =" dropdown-item" href =" {{ route (' backpack.account.info' ) } }" ><i class =" la la-user" ></i > {{ trans (' backpack::base.my_account' ) } } </a >
You can’t perform that action at this time.
0 commit comments