Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove old relations section

Aaron Contrerasff4e9c041537
diff --git a/app/components/work_package_relations_tab/index_component.html.erb b/app/components/work_package_relations_tab/index_component.html.erb
index b9590e55c42..b0e5d824b7d 100644
--- a/app/components/work_package_relations_tab/index_component.html.erb
+++ b/app/components/work_package_relations_tab/index_component.html.erb
@@ -44,7 +44,7 @@
%>
<%=
if any_relations?
- flex_layout(classes: "work-package-relations-tab--list-container") do |flex|
+ flex_layout(classes: "work-package-relations-tab--list-container", mb: 3) do |flex|
key_namespace = "#{I18N_NAMESPACE}.relations"
# Relations
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.template.html
index 544812414cb..239502ea2c4 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.template.html
@@ -13,38 +13,3 @@
<svg:rect x="0" y="25" width="100" height="12" rx="1" />
</op-content-loader>
</turbo-frame>
-
-<div style="margin-top: 30px; background-color: orangered; height: 10px;"></div>
-<div
- class="loading-indicator--location"
- data-indicator-name="relation-groups"
->
- <div
- *ngIf="!relationsPresent"
- class="attributes-group--header"
- >
- <div class="attributes-group--header-container">
- <h3
- class="attributes-group--header-text"
- [textContent]="text.relations_header"
- ></h3>
- </div>
- </div>
-
- <wp-relations-group
- [header]="type"
- *ngFor="let type of relationGroupKeys; let first = first"
- [groupByWorkPackageType]="groupByWorkPackageType"
- (onToggleGroupBy)="toggleGroupBy()"
- [firstGroup]="first"
- [relatedWorkPackages]="relationGroups[type]"
- [workPackage]="workPackage"
- ></wp-relations-group>
-
- <wp-relations-create
- *ngIf="canAddRelation"
- [workPackage]="workPackage"
- ></wp-relations-create>
-
- <wp-relations-hierarchy [workPackage]="workPackage"></wp-relations-hierarchy>
-</div>