mirror of https://gitee.com/answerdev/answer.git
feat: timlin for tag title
This commit is contained in:
parent
a12a60b3b2
commit
5b408b902c
|
@ -1215,11 +1215,12 @@ ui:
|
|||
reopened: reopened
|
||||
created: created
|
||||
title: "History for"
|
||||
tag_title: "Timeline for"
|
||||
show_votes: "Show votes"
|
||||
n_or_a: N/A
|
||||
title_for_question: "Timeline for"
|
||||
title_for_answer: "Timeline for answers to {{ title }} by {{ author }}"
|
||||
title_for_tag: "Title for tag"
|
||||
title_for_tag: "Timeline for tag"
|
||||
datetime: Datetime
|
||||
type: Type
|
||||
by: By
|
||||
|
|
|
@ -73,7 +73,9 @@ const Index: FC = () => {
|
|||
<Row className="py-3 justify-content-center">
|
||||
<Col xxl={10}>
|
||||
<h5 className="mb-4">
|
||||
{t('title')}{' '}
|
||||
{timelineData?.object_info.object_type === 'tag'
|
||||
? t('tag_title')
|
||||
: t('title')}{' '}
|
||||
<Link to={linkUrl}>{timelineData?.object_info?.title}</Link>
|
||||
</h5>
|
||||
{timelineData?.object_info.object_type !== 'tag' && (
|
||||
|
|
Loading…
Reference in New Issue