このコミットが含まれているのは:
@@ -8,6 +8,7 @@ import WikiBody from '@/components/WikiBody'
|
||||
import FieldError from '@/components/common/FieldError'
|
||||
import FormField from '@/components/common/FormField'
|
||||
import PageTitle from '@/components/common/PageTitle'
|
||||
import PrefetchLink from '@/components/PrefetchLink'
|
||||
import TabGroup, { Tab } from '@/components/common/TabGroup'
|
||||
import TagInput from '@/components/common/TagInput'
|
||||
import MainArea from '@/components/layout/MainArea'
|
||||
@@ -118,6 +119,12 @@ const MaterialDetailPage: FC = () => {
|
||||
: materialTitle}
|
||||
</PageTitle>
|
||||
|
||||
<PrefetchLink
|
||||
to={`/materials/changes?material_id=${ material.id }`}
|
||||
className="text-sm text-sky-700 underline underline-offset-2 dark:text-sky-300">
|
||||
この素材の履歴
|
||||
</PrefetchLink>
|
||||
|
||||
{(material.file && material.contentType) && (
|
||||
(/image\/.*/.test (material.contentType) && (
|
||||
<img src={material.file} alt={material.tag?.name || undefined}/>))
|
||||
|
||||
新しい課題から参照
ユーザをブロックする