data.getdata() is fully implemented
I think it all works now... Signed-off-by: deadvey <deadvey@deadvey.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
Comments:<br/>
|
||||
<% for (let postID = 0; postID < comments.length; postID++) { %>
|
||||
<% for (let comment_index = 0; comment_index < comments[postID].length; comment_index++) { %>
|
||||
<a href="/comment/<%= comments[postID][comment_index]["id"] %>"><%= comments[postID][comment_index]["id"] %></a><br/>
|
||||
<a href="/comment/<%= postID %>-<%= comment_index %>"><%= postID %>-<%= comment_index %></a><br/>
|
||||
<% }; %>
|
||||
<% }; %>
|
||||
Users:<br/>
|
||||
@@ -33,13 +33,13 @@
|
||||
Edit Posts:<br/>
|
||||
<% for (let postID = 0; postID < posts.length; postID++) { %>
|
||||
<% if (posts[postID]["deleted"] != true) { %>
|
||||
<a href="/<%= config.edit_post_base_url %>/<%= postID %>">Edit <%= posts[postID]["title"] %></a><br/>
|
||||
<a href="<%= config.edit_post_base_url %>/<%= postID %>">Edit <%= posts[postID]["title"] %></a><br/>
|
||||
<% }; %>
|
||||
<% }; %>
|
||||
Edit Users:<br/>
|
||||
<% for (let userID = 0; userID < users.length; userID++) { %>
|
||||
<% if (users[userID]["deleted"] != true) { %>
|
||||
<a href="/<%= config.edit_account_base_url %>/<%= users[userID]["username"] %>">Edit <%= users[userID]["username"] %></a><br/>
|
||||
<a href="<%= config.edit_account_base_url %>/<%= users[userID]["username"] %>">Edit <%= users[userID]["username"] %></a><br/>
|
||||
<% }; %>
|
||||
<% }; %>
|
||||
<!-- TODO add tags -->
|
||||
|
Reference in New Issue
Block a user