0216-issue
This commit is contained in:
parent
c13c7025dd
commit
9db4f1b18c
|
@ -25,7 +25,7 @@ function DeleteBox({
|
||||||
>
|
>
|
||||||
<div className="desc">
|
<div className="desc">
|
||||||
<AlignCenter className="descMain"><i className="iconfont icon-shanchu_tc_icon mr10"></i>{content}</AlignCenter>
|
<AlignCenter className="descMain"><i className="iconfont icon-shanchu_tc_icon mr10"></i>{content}</AlignCenter>
|
||||||
<p>{subTitle}</p>
|
<p className="task-hide-2" style={{WebkitLineClamp:5}}>删除后未来事件将不会推送至此Webhook地址:<span title={subTitle}>{subTitle}</span></p>
|
||||||
</div>
|
</div>
|
||||||
</Modals>
|
</Modals>
|
||||||
)
|
)
|
||||||
|
|
|
@ -177,14 +177,14 @@ function New({ form , match , showNotification , history }) {
|
||||||
onSuccess={onSuccess}
|
onSuccess={onSuccess}
|
||||||
title="删除Webhook"
|
title="删除Webhook"
|
||||||
content="您确定要删除此Webhook吗?"
|
content="您确定要删除此Webhook吗?"
|
||||||
subTitle={`删除后未来事件将不会推送至此Webhook地址:${data && data.url}`}
|
subTitle={`${data && data.url}`}
|
||||||
/>
|
/>
|
||||||
<Banner>
|
<Banner>
|
||||||
<span>
|
<span>
|
||||||
<i className="iconfont icon-zuojiantou ml5 mr5 font-14"></i>
|
|
||||||
<Link to={`/${owner}/${projectsId}/settings/webhooks`} className="color-blue">Webhooks</Link>
|
<Link to={`/${owner}/${projectsId}/settings/webhooks`} className="color-blue">Webhooks</Link>
|
||||||
|
<i className="iconfont icon-youjiantou ml5 mr5 font-12"></i>
|
||||||
|
<span>{id ? "更新" : "添加"}Webhook</span>
|
||||||
</span>
|
</span>
|
||||||
{/* <span>{id ? "更新" : "添加"}Webhook</span> */}
|
|
||||||
</Banner>
|
</Banner>
|
||||||
<div>
|
<div>
|
||||||
<p className="deschead mg"><span>当webhook被触发时,我们将向以下URL发送通知,包括已选择事件的详细信息。更多信息可查阅<a className="color-blue hoverLine" target="_blank" href="https://forum.trustie.net/forums/3408/detail">webhooks指南</a>。</span></p>
|
<p className="deschead mg"><span>当webhook被触发时,我们将向以下URL发送通知,包括已选择事件的详细信息。更多信息可查阅<a className="color-blue hoverLine" target="_blank" href="https://forum.trustie.net/forums/3408/detail">webhooks指南</a>。</span></p>
|
||||||
|
@ -199,7 +199,7 @@ function New({ form , match , showNotification , history }) {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})(
|
})(
|
||||||
<Input placeholder="请输入目标URL" size="large" autocomplete='off'/>
|
<Input placeholder="请输入目标URL" maxLength="100" size="large" autocomplete='off'/>
|
||||||
)}
|
)}
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label="Webhook密钥" colon={false}>
|
<Form.Item label="Webhook密钥" colon={false}>
|
||||||
|
|
Loading…
Reference in New Issue