File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
resources/views/linkstack/modules Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4848 <span class =" screen-reader-text" >{{ __ (' messages.Home' )} } </span ></a >
4949 </li >
5050 <li id =" linkstack-admin-bar-defaultsp" >
51- <a class =" ab-item" href =" {{ url (' /studio/links' )} }" >
51+ <a class =" ab-item" href =" @if ( $isUser ) {{ url (' /studio/links' )} }@else {{ route ( ' editUser ' , $userinfo -> id ) } } @endif " >
5252 <svg style =" top :3px ;position :relative ;fill :white ;" xmlns =" http://www.w3.org/2000/svg" height =" 16" width =" 16" viewBox =" 0 0 512 512" ><path d =" M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z" /></svg >
5353 <span class =" ab-label" >{{ __ (' messages.Edit' )} } </span >
5454 <span class =" screen-reader-text" >{{ __ (' messages.Edit' )} } </span ></a >
5555 </li >
56+ @if ($isUser )
5657 <li id =" linkstack-admin-bar-defaultsp" >
5758 <a class =" ab-item" href =" {{ url (' /studio/add-link' )} }" >
5859 <svg style =" top :3px ;position :relative ;fill :white ;" xmlns =" http://www.w3.org/2000/svg" height =" 16" width =" 14" viewBox =" 0 0 448 512" ><path d =" M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z" /></svg >
5960 <span class =" ab-label" >{{ __ (' messages.Add Link' )} } </span >
6061 <span class =" screen-reader-text" >{{ __ (' messages.Add Link' )} } </span ></a >
6162 </li >
63+ @endif
6264 <li id =" linkstack-admin-bar-defaultsp" class =" menupop" >
6365 <a class =" ab-item" aria-haspopup =" true" href =" #" >
6466 <svg style =" top :4px ;position :relative ;fill :white ;" xmlns =" http://www.w3.org/2000/svg" height =" 16" width =" 14" viewBox =" 0 0 448 512" ><path d =" M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" /></svg >
You can’t perform that action at this time.
0 commit comments