diff options
author | FuXiaoHei <fuxiaohei@vip.qq.com> | 2024-02-18 18:33:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 10:33:50 +0000 |
commit | 67adc5c1dc3470dab96053c2e77351f3a3f8062b (patch) | |
tree | 51e10d6b875d2d8aee0211f4a68a3ae52996a059 /web_src/js/svg.js | |
parent | 7430eb9e7f04a2923cee1f144947cf5fcce39ef8 (diff) | |
download | gitea-67adc5c1dc3470dab96053c2e77351f3a3f8062b.tar.gz gitea-67adc5c1dc3470dab96053c2e77351f3a3f8062b.zip |
Artifact deletion in actions ui (#27172)
Add deletion link in runs view page.
Fix #26315
![image](https://github.com/go-gitea/gitea/assets/2142787/aa65a4ab-f434-4deb-b953-21e63c212033)
When click deletion button. It marks this artifact `need-delete`.
This artifact would be deleted when actions cleanup cron task.
Diffstat (limited to 'web_src/js/svg.js')
-rw-r--r-- | web_src/js/svg.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/svg.js b/web_src/js/svg.js index 084256587c..471b5136bd 100644 --- a/web_src/js/svg.js +++ b/web_src/js/svg.js @@ -67,6 +67,7 @@ import octiconStrikethrough from '../../public/assets/img/svg/octicon-strikethro import octiconSync from '../../public/assets/img/svg/octicon-sync.svg'; import octiconTable from '../../public/assets/img/svg/octicon-table.svg'; import octiconTag from '../../public/assets/img/svg/octicon-tag.svg'; +import octiconTrash from '../../public/assets/img/svg/octicon-trash.svg'; import octiconTriangleDown from '../../public/assets/img/svg/octicon-triangle-down.svg'; import octiconX from '../../public/assets/img/svg/octicon-x.svg'; import octiconXCircleFill from '../../public/assets/img/svg/octicon-x-circle-fill.svg'; @@ -139,6 +140,7 @@ const svgs = { 'octicon-sync': octiconSync, 'octicon-table': octiconTable, 'octicon-tag': octiconTag, + 'octicon-trash': octiconTrash, 'octicon-triangle-down': octiconTriangleDown, 'octicon-x': octiconX, 'octicon-x-circle-fill': octiconXCircleFill, |