minor fixes
This commit is contained in:
parent
a73b4d47a4
commit
1ed5d95a77
|
@ -69,7 +69,8 @@ import { UserWorkspaceComponent } from './user-workspace/user-workspace.componen
|
|||
import { AutocompleteRemoteComponent } from './form/fields/autocomplete-remote/autocomplete-remote.component';
|
||||
|
||||
import { Ng4LoadingSpinnerModule } from 'ng4-loading-spinner';
|
||||
import { BreadcrumbComponent } from './widgets/breadcrumb/breadcrumb.component';
|
||||
import { BreadcrumbComponent } from './widgets/breadcrumb/breadcrumb.component';
|
||||
import { DmpDetailedComponent } from './viewers/src/app/viewers/dmp-detailed/dmp-detailed.component';
|
||||
|
||||
|
||||
|
||||
|
@ -101,7 +102,7 @@ import { BreadcrumbComponent } from './widgets/breadcrumb/breadcrumb.component';
|
|||
DatasetTableFilterPipe,
|
||||
DatasetStatusFilterPipe,
|
||||
StatusToString,
|
||||
BreadcrumbComponent
|
||||
BreadcrumbComponent, DmpDetailedComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
|
|
@ -49,4 +49,14 @@ tr.hover:hover > * {
|
|||
background-color:#337ab7;
|
||||
color:white;
|
||||
margin-top:15px;
|
||||
}
|
||||
}
|
||||
|
||||
a{
|
||||
cursor: pointer;
|
||||
}
|
||||
.not-active {
|
||||
pointer-events: none;
|
||||
cursor:not-allowed;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50); /* For IE8 and earlier */
|
||||
}
|
|
@ -29,10 +29,10 @@
|
|||
<mfDefaultSorter by="abbreviation">Αbbreviation</mfDefaultSorter>
|
||||
</th>
|
||||
<th>
|
||||
<mfDefaultSorter by="startDate">Start Date</mfDefaultSorter>
|
||||
<mfDefaultSorter by="startdate">Start Date</mfDefaultSorter>
|
||||
</th>
|
||||
<th>
|
||||
<mfDefaultSorter by="endDate">End Date</mfDefaultSorter>
|
||||
<mfDefaultSorter by="enddate">End Date</mfDefaultSorter>
|
||||
</th>
|
||||
<th>
|
||||
<mfDefaultSorter by="status">Status</mfDefaultSorter>
|
||||
|
@ -59,8 +59,16 @@
|
|||
<td>{{project?.enddate | date:'yyyy-MM-dd HH:mm:ss Z'}}</td>
|
||||
<td>{{project?.status | statusToString}}</td>
|
||||
<td>{{project?.description}}</td>
|
||||
<td><a href="#" class="editGridColumn" (click)="editRow(project, $event)"><i class="fa fa-pencil fa-fw" data-toggle="tooltip" title="edit properties" id="editDMP"></i>
|
||||
<i class="fa fa-eraser fa-fw" data-toggle="tooltip" title="delete project"></i></a></td>
|
||||
<td>
|
||||
<a [ngClass]="{'not-active': whoami?.id!=project?.creationUser }" class="editGridColumn" (click)="editRow(project, $event)">
|
||||
<i class="fa fa-pencil fa-fw" data-toggle="tooltip" title="edit properties" id="editDMP" ></i>
|
||||
</a>
|
||||
<!--
|
||||
<a>
|
||||
<i class="fa fa-eraser fa-fw" data-toggle="tooltip" title="delete project"></i>
|
||||
</a>
|
||||
-->
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<p>
|
||||
dmp-detailed works!
|
||||
</p>
|
|
@ -0,0 +1,15 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dmp-detailed',
|
||||
templateUrl: './dmp-detailed.component.html',
|
||||
styleUrls: ['./dmp-detailed.component.css']
|
||||
})
|
||||
export class DmpDetailedComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue