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 48
48
<span class =" screen-reader-text" >{{ __ (' messages.Home' )} } </span ></a >
49
49
</li >
50
50
<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 " >
52
52
<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 >
53
53
<span class =" ab-label" >{{ __ (' messages.Edit' )} } </span >
54
54
<span class =" screen-reader-text" >{{ __ (' messages.Edit' )} } </span ></a >
55
55
</li >
56
+ @if ($isUser )
56
57
<li id =" linkstack-admin-bar-defaultsp" >
57
58
<a class =" ab-item" href =" {{ url (' /studio/add-link' )} }" >
58
59
<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 >
59
60
<span class =" ab-label" >{{ __ (' messages.Add Link' )} } </span >
60
61
<span class =" screen-reader-text" >{{ __ (' messages.Add Link' )} } </span ></a >
61
62
</li >
63
+ @endif
62
64
<li id =" linkstack-admin-bar-defaultsp" class =" menupop" >
63
65
<a class =" ab-item" aria-haspopup =" true" href =" #" >
64
66
<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