Commit 5faa35a3 authored by Alexander Philipp Nowosad's avatar Alexander Philipp Nowosad
Browse files

Fix company model component

parent 941bfa1f
<div class="nav-scroller bg-white shadow-sm">
<nav class="nav nav-underline">
<a class="nav-link" [routerLink]="['/', 'companyModels']">
Composed Models
</a>
<a
*ngIf="companyModel"
class="nav-link"
[routerLink]="['/companyModels', companyModel._id]"
>View {{ companyModel.name }}</a
>
<a
*ngIf="companyModel"
class="nav-link active"
[routerLink]="['/companyModels', companyModel._id, 'edit']"
>Edit {{ companyModel.name }}</a
[routerLink]="['/', 'companyModels', companyModel._id]"
>
{{ companyModel.name }}
</a>
<a *ngIf="companyModel" class="nav-link active" [routerLink]="[]">Edit</a>
</nav>
</div>
......
<div class="nav-scroller bg-white shadow-sm">
<nav class="nav nav-underline">
<a
*ngIf="companyModel"
class="nav-link active"
[routerLink]="['/companyModels', companyModel._id]"
>View {{ companyModel.name }}</a
>
<a class="nav-link" [routerLink]="['/', 'companyModels']">
Composed Models
</a>
<a *ngIf="companyModel" class="nav-link active" [routerLink]="[]">
{{ companyModel.name }}
</a>
<a
*ngIf="companyModel"
class="nav-link"
[routerLink]="['/companyModels', companyModel._id, 'edit']"
>Edit {{ companyModel.name }}</a
[routerLink]="['/', 'companyModels', companyModel._id, 'edit']"
>
Edit
</a>
</nav>
</div>
......
<div class="my-3 p-3 bg-white rounded shadow-sm">
<h6 class="border-bottom border-gray pb-2 mb-0">Model Info</h6>
<h6 class="border-bottom border-gray pb-2 mb-0">Info</h6>
<table class="table table-sm mb-0" style="table-layout: fixed">
<tbody>
<tr class="table-borderless">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment