Content
View differences
Updated by Parimal Satyal about 2 years ago
### Steps to reproduce
1. Open the project attribute settings in the administration
2. Navigate to the tab projects
3. Click on the more menu of a project
### What is the buggy behavior?
* The menu entry is called "delete"
* The project list should not be displayed when the "Required" option is checked (since the attribute can then no longer be deactivated at a project level)
### What is the expected behavior?
1. When the "Required" button is checked for the project attribute in the _Details_ tab:
1. Replace the project list with empty state (mockup below) without any actions that explains to the user that a required project attribute is activated in all projects and cannot be deactivated
2. When the "Required" button is not checked and the project attribute is only included in some projects
1. The menu entry should be a regular action (not danger) be called "Deactive for this project"
1. German: "Deaktivieren für dieses Projekt"
2. French: "Désactiver pour ce project"
**Screenshot**
Current implementation
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/104425/content">
#### Mockups
**"Deactivate for this project" option:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/105356/content">
**When the "required" option is checked:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/105357/content">
1. Open the project attribute settings in the administration
2. Navigate to the tab projects
3. Click on the more menu of a project
### What is the buggy behavior?
* The menu entry is called "delete"
* The project list should not be displayed when the "Required" option is checked (since the attribute can then no longer be deactivated at a project level)
### What is the expected behavior?
1. When the "Required" button is checked for the project attribute in the _Details_ tab:
1. Replace the project list with empty state (mockup below) without any actions that explains to the user that a required project attribute is activated in all projects and cannot be deactivated
2. When the "Required" button is not checked and the project attribute is only included in some projects
1. The menu entry should be a regular action (not danger) be called "Deactive for this project"
Current implementation
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/104425/content">
#### Mockups
**"Deactivate for this project" option:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/105356/content">
**When the "required" option is checked:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/105357/content">