Commit 74028e36 authored by prumde's avatar prumde

Re-direction link changes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174330 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eb3e7ed3
...@@ -3,12 +3,17 @@ ...@@ -3,12 +3,17 @@
box-shadow: 0 0 5px 0px #ccc; box-shadow: 0 0 5px 0px #ccc;
padding: 0; padding: 0;
margin: 0; margin: 0;
position: relative position: relative;
height: 400px;
width: auto;
} }
.ecm-card-img { .ecm-card-img {
border-top-right-radius: 5px; border-top-right-radius: 5px;
border-top-left-radius: 5px; border-top-left-radius: 5px;
width: 100%; width: 100%;
height: calc( 100% - 90px);
} }
.ecm-card-footer { .ecm-card-footer {
width: 100%; width: 100%;
...@@ -80,6 +85,6 @@ ...@@ -80,6 +85,6 @@
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.share:HOVER { .share:hover {
background-color: transparent; background-color: transparent;
} }
\ No newline at end of file
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<a class="ecm-card-action top share" routerLink="/share" routerLinkActive="active"></a> <a class="ecm-card-action top share" routerLink="/share" routerLinkActive="active"></a>
--> -->
<a *ngIf="category.catLink" class="ecm-card-action"[routerLink]="['link', category.shDescr]">Open</a> <a *ngIf="category.catLink" class="ecm-card-action"[routerLink]="['link', category.shDescr]">Open</a>
<a *ngIf="!category.catLink" class="ecm-card-action"[routerLink]="['/Home', {outlets:{content:['view',category.catCode]}}]">View</a> <a *ngIf="!category.catLink" class="ecm-card-action"[routerLink]="[ '/home', { outlets:{ content:['list','SUB_CATEGORY',category.catCode] } } ]">View</a>
<a *ngIf="!category.catLink" class="ecm-card-action top share"[routerLink]="['share', category.catCode]"></a> <a *ngIf="!category.catLink" class="ecm-card-action top share"[routerLink]="[ '/home', { outlets:{ content:['share','SUB_CATEGORY',category.catCode] } } ]"></a>
</div> </div>
</div> </div>
<div *ngIf="subcategory" class="ecm-card"> <div *ngIf="subcategory" class="ecm-card">
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
<a class="ecm-card-action top share" routerLink="/share" routerLinkActive="active"></a> <a class="ecm-card-action top share" routerLink="/share" routerLinkActive="active"></a>
--> -->
<a *ngIf="subcategory.catLink" class="ecm-card-action"[routerLink]="['link', subcategory.shDescr]">Open</a> <a *ngIf="subcategory.catLink" class="ecm-card-action"[routerLink]="['link', subcategory.shDescr]">Open</a>
<a *ngIf="!subcategory.catLink" class="ecm-card-action top share"[routerLink]="['share', subcategory.scatCode]"></a> <a *ngIf="!subcategory.catLink" class="ecm-card-action"[routerLink]="[ '/home', { outlets:{ content:['list','ITEMS',subcategory.scatCode] } } ]">View</a>
<a *ngIf="!subcategory.catLink" class="ecm-card-action top share"[routerLink]="[ '/home', { outlets:{ content:['share','ITEMS',subcategory.scatCode] } } ]"></a>
</div> </div>
</div> </div>
Markdown is supported
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