# Bug DREAM-637 - Rephrase 'Budget by cost type' subtitle for portfolios

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-637

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project overview, Modules and project features / Costs and budgets, Frontend components and Primer design system |
| Target versions | 17.2.0 |
| Observed in versions | 17.2.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a project admin

2.  Create a portfolio with 2 subprojects and 1 subprogram (count doesn't matter, this is just an example)

3.  Take care that the budgets widget can show data
    
    \-log cost to a work package
    
    \-or log time to a work package with a user that has a [hourly rate defined](https://www.openproject.org/docs/user-guide/time-and-costs/time-tracking/#define-hourly-rate-for-labor-costs)
    
    \-make sure the work package for which time or cost is logged has the "Budget" field being set

### What is the buggy behaviour?

  - 'Data aggreagted \[..\]' text is too confusing

### What is the expected behaviour?

  - Split it into three different strings

  - If there are no subitems, just say: "Data aggregated from {n} budgets"

  - If there *are* subitems, just say: "Data aggregated from {n} budgets included in this {project|program|portfolio} and its subitems.

### 

### Screenshots and other files

<br>

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919463/content">

### Environment information

**OpenProject version**

Core build

[4953cca88e42295f897b3628f44e5e1a191a6c62](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommits%2F4953cca88e42295f897b3628f44e5e1a191a6c62)

Product version

[dc42d01e58a6d11edd33918c626299ff47bcc87f](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommits%2Fdc42d01e58a6d11edd33918c626299ff47bcc87f)

Core version

OpenProject 17.2.0

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
