Skip to content

Commit

Permalink
PostDetails: 文末统一部分添加 翻译中 与 校对中 两种新状态.
Browse files Browse the repository at this point in the history
  • Loading branch information
shandianchengzi committed May 5, 2024
1 parent 9a74df2 commit 803a06d
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions pages/src/layouts/PostDetails.astro
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,34 @@ const layoutProps = {
<p>
<strong>选题:</strong>
<a href={"https://github.com/" + collector}>{collector}</a>
{translated_date && (
{translator != "HCTT" && (
<span>
&nbsp;&nbsp;
<strong>译者:</strong>
&nbsp;&nbsp;{
translated_date ?
<strong>译者:</strong> :
<strong>正在翻译:</strong>
}
<a href={"https://github.com/" + translator}>{translator}</a>
{proofread_date && (
{
proofreader != "HCTT" && (
<span>
&nbsp;&nbsp;
<strong>校对:</strong><a href={"https://github.com/" + proofreader}>{proofreader}</a>
&nbsp;&nbsp;{
proofread_date ?
<strong>校对:</strong> :
<strong>正在校对:</strong>
}
<a href={"https://github.com/" + proofreader}>{proofreader}</a>
</span>
)}
{published_date && (
<span>
&nbsp;&nbsp;
<strong>发布:</strong><a href={"https://github.com/" + publisher}>{publisher}</a>
</span>
)}
)
}
{
published_date && (
<span>
&nbsp;&nbsp;
<strong>发布者:</strong><a href={"https://github.com/" + publisher}>{publisher}</a>
</span>
)
}
</span>
)}
</p>
Expand Down

0 comments on commit 803a06d

Please sign in to comment.