File tree Expand file tree Collapse file tree 6 files changed +7
-18
lines changed
Expand file tree Collapse file tree 6 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 9494 "readArticle" : " Read Article" ,
9595 "viewMore" : " View More Articles" ,
9696 "readingTime" : " minute read" ,
97- "unknownAuthor" : " Unknown Author" ,
98- "unpublished" : " Unpublished"
97+ "unknownAuthor" : " Unknown Author"
9998 },
10099 "mission" : {
101100 "title" : " Our Mission" ,
Original file line number Diff line number Diff line change 9494 "readArticle" : " 阅读文章" ,
9595 "viewMore" : " 查看更多文章" ,
9696 "readingTime" : " 分钟阅读" ,
97- "unknownAuthor" : " 未知作者" ,
98- "unpublished" : " 未发布 "
97+ "unknownAuthor" : " 未知作者"
98+
9999 },
100100 "mission" : {
101101 "title" : " 我们的使命" ,
Original file line number Diff line number Diff line change 9393 "readArticle" : " 閱讀文章" ,
9494 "viewMore" : " 查看更多文章" ,
9595 "readingTime" : " 分鐘閱讀" ,
96- "unknownAuthor" : " 未知作者" ,
97- "unpublished" : " 未發布 "
96+ "unknownAuthor" : " 未知作者"
97+
9898 },
9999 "mission" : {
100100 "title" : " 我們的使命" ,
Original file line number Diff line number Diff line change @@ -144,12 +144,7 @@ export default function ArticleSection() {
144144 < User className = { styles . articleIcon } />
145145 { article . author || t ( 'homepage.articles.unknownAuthor' ) }
146146 </ div >
147- < div className = { styles . articleInfoItem } >
148- < Calendar className = { styles . articleIcon } />
149- { article . publish_time
150- ? formatTime ( article . publish_time )
151- : t ( 'homepage.articles.unpublished' ) }
152- </ div >
147+
153148 < div className = { styles . articleInfoItem } >
154149 < BookOpen className = { styles . articleIcon } />
155150 { article . readingTime || 6 } { t ( 'homepage.articles.readingTime' ) }
Original file line number Diff line number Diff line change @@ -214,9 +214,7 @@ export default function CosconEventsPage() {
214214 >
215215 { getStatusText ( event ) }
216216 </ Tag >
217- { event . publish_status === 1 && (
218- < Tag className = { styles . noPublishStatus } > 未发布</ Tag >
219- ) }
217+
220218 < div className = { styles . cardActions } >
221219 { status === 'authenticated' &&
222220 permissions . includes ( 'event:write' ) ? (
Original file line number Diff line number Diff line change @@ -433,9 +433,6 @@ export default function EventsPage() {
433433 >
434434 { getStatusText ( event ) }
435435 </ Tag >
436- { event . publish_status === 1 && (
437- < Tag className = { styles . noPublishStatus } > 未发布</ Tag >
438- ) }
439436 < div className = { styles . cardActions } >
440437 { status === 'authenticated' &&
441438 permissions . includes ( 'event:write' ) ? (
You can’t perform that action at this time.
0 commit comments