Compare commits

...

2 Commits

Author SHA1 Message Date
Eric
e1ff83e96c Show resume attachments on .com admin gig application detail.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 14:59:02 +08:00
Eric
bcde3a1535 Fix duplicate phrase key blocking Next production build.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 14:55:21 +08:00
2 changed files with 12 additions and 1 deletions

View File

@ -371,6 +371,8 @@ function PrimaryFields({
)
}
if (entity === 'gigApps') {
const resumeUrl = String(val(item, 'resumeUrl', 'resume_url') || '')
const resumeName = String(val(item, 'resumeName', 'resume_name') || '简历附件')
return (
<div className="com-detail-hero">
<div className="com-detail-name-row">
@ -379,6 +381,16 @@ function PrimaryFields({
</div>
<p className="com-detail-bio">联系:{String(val(item, 'contact') ?? '—')}</p>
<p className="com-detail-bio">备注:{String(val(item, 'note') ?? '—')}</p>
{resumeUrl ? (
<p className="com-detail-bio">
简历:{' '}
<a href={resumeUrl} target="_blank" rel="noopener noreferrer">
{resumeName}
</a>
</p>
) : (
<p className="com-detail-bio">简历:未上传</p>
)}
<div className="com-detail-meta">
<span>
访客 <code>{String(val(item, 'guestId', 'guest_id') ?? '—')}</code>

View File

@ -322,7 +322,6 @@ export const SOCIAL_PHRASES_EN: Record<string, string> = {
"简历已上传,可以提交申请了": "Resume uploaded — you can submit now",
"可以提交了(简历可选)": "Ready to submit (resume optional)",
"还差称呼和联系方式": "Name and contact still needed",
"上传中…": "Uploading…",
"可以再改一版后提交": "Edit another draft, then submit",
"不代表已经被录用": "Does not mean you are hired",
"申请已先留在本机": "Application saved on this device",