only show admin tools when logged in
This commit is contained in:
parent
81f4817f03
commit
45792787ba
|
@ -4,10 +4,12 @@
|
||||||
<div class="gapLeft">
|
<div class="gapLeft">
|
||||||
<span class="populateME"><b><i>f0ck</i></b> - {{ item.id }}</span>
|
<span class="populateME"><b><i>f0ck</i></b> - {{ item.id }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@if(session)
|
||||||
<div class="gapRight">
|
<div class="gapRight">
|
||||||
<svg class="iconset" id="a_favo"><use href="/s/img/iconset.svg#heart_{{ Object.values(item.favorites).filter(u => u.user == session.user)[0] ? 'solid' : 'regular' }}"></use></svg>
|
<svg class="iconset" id="a_favo"><use href="/s/img/iconset.svg#heart_{{ Object.values(item.favorites).filter(u => u.user == session.user)[0] ? 'solid' : 'regular' }}"></use></svg>
|
||||||
<svg class="iconset" id="a_delete"><use href="/s/img/iconset.svg#cross"></use></svg>
|
<svg class="iconset" id="a_delete"><use href="/s/img/iconset.svg#cross"></use></svg>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="next-post">
|
<div class="next-post">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user