Content
View differences
Updated by Dominic Bräunlein about 1 year ago
### Steps to reproduce
1. Go to Work packages > Types
2. Create or edit a work package type
3. In the WP type config, go to Subject configuration
4. Add the fields Remaining work and Work to your subject pattern
5. Create a WP with that pattern
### What is the buggy behaviour?
* Time values are not displayed clearly
* They look more like version numbers
### What is the expected behaviour?
1. Remaining time and work should display in the same format as in the work package views: "2h"
1. Format: Round up to the nearest whole number with an "h" after the number
TBD Dominic
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/434059/content">
### Environment information
**OpenProject version**
Core build
[584f6768b0ad8cc3b90d24f64f094b74fe1dad34](https://github.com/opf/openproject/commits/584f6768b0ad8cc3b90d24f64f094b74fe1dad34)
Product version
[9b379b492daf3960d47fae51743a880ad4de7807](https://github.com/opf/saas-openproject/commits/9b379b492daf3960d47fae51743a880ad4de7807)
Core version
OpenProject 16.0.0
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [x] Windows 11Pro
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
1. Go to Work packages > Types
2. Create or edit a work package type
3. In the WP type config, go to Subject configuration
4. Add the fields Remaining work and Work to your subject pattern
5. Create a WP with that pattern
### What is the buggy behaviour?
* Time values are not displayed clearly
* They look more like version numbers
### What is the expected behaviour?
1. Remaining time and work should display in the same format as in the work package views: "2h"
1. Format: Round up to the nearest whole number with an "h" after the number
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/434059/content">
### Environment information
**OpenProject version**
Core build
[584f6768b0ad8cc3b90d24f64f094b74fe1dad34](https://github.com/opf/openproject/commits/584f6768b0ad8cc3b90d24f64f094b74fe1dad34)
Product version
[9b379b492daf3960d47fae51743a880ad4de7807](https://github.com/opf/saas-openproject/commits/9b379b492daf3960d47fae51743a880ad4de7807)
Core version
OpenProject 16.0.0
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [x] Windows 11Pro
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)