Skip to content

Commit

Permalink
In this commit I implented the isResolved button that is placed next …
Browse files Browse the repository at this point in the history
…to the posted posts to check if the post is reolved or not
  • Loading branch information
zainabAhm committed Sep 27, 2023
1 parent 223ea60 commit bc92357
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions themes/nodebb-theme-persona/templates/partials/topic/post.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ document.addEventListener('DOMContentLoaded', function() {
<!-- ENDIF !posts.selfPost -->
<!-- ENDIF isAnonymous -->

<button id="resolveButton" style="color: white; float: right;" component="post/resolve" class="btn btn-primary btn-sm no-select">Mark as Resolved</button>

<button id="resolveButton"
style="color: white;
float: right;"
component="post/resolve"
class="btn btn-primary btn-sm no-select">Mark as Resolved</button>

<!-- IF posts.selfPost -->
<strong>
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
Expand Down Expand Up @@ -92,8 +96,7 @@ document.addEventListener('DOMContentLoaded', function() {









Expand Down

0 comments on commit bc92357

Please sign in to comment.