Skip to content

Commit

Permalink
Update post.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
LastSymphony12 authored Nov 13, 2024
1 parent afa7f15 commit 2d198b2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions templates/partials/topic/post.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@

<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}}}

{{{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 2d198b2

Please sign in to comment.