Skip to content

Commit

Permalink
Complete the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasnim1147 committed Nov 12, 2024
1 parent 17a6eed commit 75d03f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/meta/src/post.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@

<div class="content mt-2 text-break" component="post/content" itemprop="text">
{posts.content}
{{{if !posts.isEnglish }}}
<div class="sensitive-content-message">
<a class="btn btn-sm btn-primary view-translated-btn">Click here to view the translated message.</a>
</div>
<div class="translated-content" style="display:none;">
{posts.translatedContent}
</div>
{{{end}}}
</div>
</div>
</div>
Expand Down

0 comments on commit 75d03f3

Please sign in to comment.