Added tokelist to user profile.
This commit is contained in:
parent
0b84c51cbf
commit
80f0c5435f
6 changed files with 79 additions and 7 deletions
|
|
@ -34,8 +34,15 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.-->
|
|||
<% if(selfProfile){ %>
|
||||
<p class="profile-item-edit">(<a class="profile-item-edit" id="profile-img-edit" href="javascript:">edit</a>)</p>
|
||||
<% } %>
|
||||
<p class="profile-item" id="profile-tokes">tokes: <%- profile.tokes %> (Not yet implemented)</p>
|
||||
|
||||
<span class="profile-item profile-toke-count">
|
||||
<p class="profile-item profile-toke-count">tokes: <%- profile.tokeCount %> </p>
|
||||
<i class="profile-item bi-caret-left-fill profile-toke-count" id="toggle-toke-list"></i>
|
||||
</span>
|
||||
<div class="profile-item dynamic-container" id="profile-tokes">
|
||||
<% profile.tokes.forEach((count, toke) => { %>
|
||||
<p class="profile-item profile-toke" id='profile-tokes<%-toke%>'>!<%- toke %>: <%- count %></p>
|
||||
<% }); %>
|
||||
</div>
|
||||
<span class="profile-item" id="profile-signature">
|
||||
<p class="profile-item profile-item-label" id="profile-signature-label">Signature: <span class="profile-content" id="profile-signature-content"><%- profile.signature %></span></p>
|
||||
<% if(selfProfile){ %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue