web: add description on mapfix page
This commit is contained in:
parent
b7e5d82c13
commit
44f8736838
web/src/app
@ -14,6 +14,7 @@ interface CreatorAndReviewStatus {
|
||||
review: MapfixInfo["StatusID"],
|
||||
submitter: MapfixInfo["Submitter"],
|
||||
target_asset_id: MapfixInfo["TargetAssetID"],
|
||||
description: MapfixInfo["Description"],
|
||||
comments: Comment[],
|
||||
name: string
|
||||
}
|
||||
|
@ -54,6 +54,7 @@ function TitleAndComments(stats: CreatorAndReviewStatus) {
|
||||
<p className="submitter">Submitter {stats.submitter}</p>
|
||||
<p className="asset-id">Model Asset ID {stats.asset_id}</p>
|
||||
<p className="target-asset-id">Target Asset ID {stats.target_asset_id}</p>
|
||||
<p className="description">Description: {stats.description}</p>
|
||||
<span className="spacer"></span>
|
||||
<Comments comments_data={stats}/>
|
||||
</main>
|
||||
@ -85,7 +86,16 @@ export default function MapfixInfoPage() {
|
||||
<main className="map-page-main">
|
||||
<section className="review-section">
|
||||
<RatingArea mapfixId={dynamicId.mapfixId} mapfixStatus={mapfix.StatusID} mapfixSubmitter={mapfix.Submitter} mapfixAssetId={mapfix.AssetID} mapfixTargetAssetId={mapfix.TargetAssetID} />
|
||||
<TitleAndComments name={mapfix.DisplayName} creator={mapfix.Creator} review={mapfix.StatusID} asset_id={mapfix.AssetID} submitter={mapfix.Submitter} target_asset_id={mapfix.TargetAssetID} comments={[]}/>
|
||||
<TitleAndComments
|
||||
name={mapfix.DisplayName}
|
||||
creator={mapfix.Creator}
|
||||
review={mapfix.StatusID}
|
||||
asset_id={mapfix.AssetID}
|
||||
submitter={mapfix.Submitter}
|
||||
target_asset_id={mapfix.TargetAssetID}
|
||||
description={mapfix.Description}
|
||||
comments={[]}
|
||||
/>
|
||||
</section>
|
||||
</main>
|
||||
</Webpage>
|
||||
|
@ -26,6 +26,7 @@ interface MapfixInfo {
|
||||
readonly Completed: boolean,
|
||||
readonly TargetAssetID: number,
|
||||
readonly StatusID: MapfixStatus,
|
||||
readonly Description: string,
|
||||
}
|
||||
|
||||
interface MapfixList {
|
||||
|
Loading…
x
Reference in New Issue
Block a user