Patch #21159
Hide empty <ul> on project overview
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | UI | |||
Target version: | 3.2.0 |
Description
When there is either no homepage, no subprojects or no visible custom fields for a project present, an empty <ul> is being rendered on a projects overview. Due to browser presets, this <ul> can cause a space which resolves in an incorrect alignment of the default boxes (issue tracking, members). See the screenshot before_patch.png for this behaviour.
This patch prevents the empty <ul> from being rendered when none of the above conditions are met. The attached screenshot after_patch.png shows how it looks when the patch is being applied.
Related issues
Associated revisions
Hide empty ul on project overview (#21159).
Patch by Felix Gliesche.
History
#1
Updated by Felix Gliesche almost 7 years ago
- File 0001-Hide-empty-ul-on-project-overview.patch added
Housekeeping: The first patch was missing correct indentation.
#2
Updated by Jan from Planio www.plan.io almost 7 years ago
- File deleted (
0001-Hide-empty-ul-on-project-overview.patch)
#3
Updated by Jan from Planio www.plan.io almost 7 years ago
- File deleted (
0001-Hide-empty-ul-on-project-overview.patch)
#4
Updated by Jan from Planio www.plan.io almost 7 years ago
- Assignee set to Felix Gliesche
This is not working yet as intended. We're uploading a new patch as soon as we have one...
#5
Updated by Felix Gliesche almost 7 years ago
- File 0001-Hide-empty-ul-on-project-overview.patch
added
Here it is, sorry for the confusion.
#6
Updated by Jean-Philippe Lang almost 7 years ago
- Status changed from New to Closed
- Target version set to 3.2.0
Thanks.
#7
Updated by Go MAEDA over 6 years ago
- Duplicated by Patch #6102: Project page: issues and members box are not lined up added