@@ -18,62 +18,72 @@ <h2 class="fontsize-xl">{{organView.organ}}</h2>
1818 < span > {{element.datasetId}}</ span >
1919 </ mat-cell >
2020 </ ng-container >
21+
2122 < ng-container matColumnDef ="developmentalStage ">
22- < mat-header-cell *matHeaderCellDef class ="fontsize-xxs bold ">
23- < span > Developmental< span > Stage </ span > </ span > </ mat-header-cell >
24- < mat-cell *matCellDef ="let element " class ="fontsize-xxs ">
23+ < mat-header-cell *matHeaderCellDef class ="stage fontsize-xxs bold ">
24+ < span > Developmental< br /> Stage </ span > </ mat-header-cell >
25+ < mat-cell *matCellDef ="let element " class ="stage fontsize-xxs desktop-only ">
2526 < span > {{element.developmentalStage}}</ span >
2627 </ mat-cell >
2728 </ ng-container >
2829 < ng-container matColumnDef ="organ ">
29- < mat-header-cell *matHeaderCellDef class ="fontsize-xxs bold ">
30+ < mat-header-cell *matHeaderCellDef class ="organ fontsize-xxs bold ">
3031 < span > Organ</ span >
3132 </ mat-header-cell >
32- < mat-cell *matCellDef ="let element " class ="fontsize-xxs ">
33+ < mat-cell *matCellDef ="let element " class ="organ fontsize-xxs desktop-only ">
3334 < span > {{element.organ}}</ span >
3435 </ mat-cell >
3536 </ ng-container >
3637 < ng-container matColumnDef ="technology ">
37- < mat-header-cell *matHeaderCellDef class ="fontsize-xxs bold ">
38+ < mat-header-cell *matHeaderCellDef class ="technology fontsize-xxs bold ">
3839 < span > Technology</ span > </ mat-header-cell >
39- < mat-cell *matCellDef ="let element " class ="fontsize-xxs ">
40+ < mat-cell *matCellDef ="let element " class ="technology fontsize-xxs desktop-only ">
4041 < span > {{renderTechnologyShortName(element.libraryConstructionApproach)}}</ span >
4142 </ mat-cell >
4243 </ ng-container >
4344 < ng-container matColumnDef ="releaseFiles ">
44- < mat-header-cell *matHeaderCellDef class ="fontsize-xxs bold ">
45+ < mat-header-cell *matHeaderCellDef class ="release-files fontsize-xxs bold ">
4546 < span > Release Files</ span > </ mat-header-cell >
46- < mat-cell *matCellDef ="let element " class ="fontsize-xxs ">
47- < a routerLink ="/projects/{{element.entryId}}/m/releases/2020-mar/datasets/{{element.datasetId}}/release-files "
48- (click) ="setReleaseFilesReferrer() "> View Files</ a >
49- </ mat-cell >
50- </ ng-container >
51- < ng-container matColumnDef ="annotatedExpressionMatrix ">
52- < mat-header-cell *matHeaderCellDef class ="fontsize-xxs bold ">
53- < span > Annotated< span > Expression Matrix</ span > </ span > </ mat-header-cell >
54- < mat-cell *matCellDef ="let element " class ="fontsize-xxs dot ">
55- < ng-container *ngFor ="let file of element.files ">
56- < a href ={{file.url}} target ="_blank "
57- rel ="noopener noreferrer "> {{file.extension}}</ a >
58- </ ng-container >
47+ < mat-cell *matCellDef ="let element " class ="release-files fontsize-xxs desktop-only ">
48+ < button class ="button secondary size-s "
49+ [routerLink] ="getDatasetReleaseFilesUrl(element.entryId, element.datasetId) "
50+ (click) ="setReleaseFilesReferrer() ">
51+ Downloads
52+ </ button >
5953 </ mat-cell >
6054 </ ng-container >
6155 < ng-container matColumnDef ="visualize ">
62- < mat-header-cell *matHeaderCellDef class ="fontsize-xxs bold visualize ">
56+ < mat-header-cell *matHeaderCellDef class ="visualizations fontsize-xxs bold ">
6357 < span > Visualizations</ span >
6458 </ mat-header-cell >
65- < mat-cell *matCellDef ="let element " class ="fontsize-xxs dot visualize ">
66- < ng-container *ngFor ="let visualization of element.visualizations ">
67- < hca-tooltip [tooltipClass] ="'hca-tooltip' "
68- [tooltipContent] ="visualization.description "
69- [tooltipDisabled] ="false "
70- [tooltipPosition] ="'above' ">
71- < a href ={{visualization.url}} target ="_blank "
72- rel ="noopener noreferrer " (click) ="trackExternalLink(element, visualization) "> {{visualization.title}}</ a >
73- </ hca-tooltip >
74- </ ng-container >
59+ < mat-cell *matCellDef ="let element " class ="visualizations fontsize-xxs desktop-only ">
60+ < button class ="button secondary size-s "
61+ [routerLink] ="getDatasetVisualizationsUrl(element.entryId, element.datasetId) "
62+ (click) ="setReleaseFilesReferrer() "> Visualizations</ button >
63+ </ mat-cell >
64+ </ ng-container >
65+ <!-- Mobile only columns -->
66+ < ng-container matColumnDef ="attributes ">
67+ < mat-header-cell *matHeaderCellDef class ="attributes fontsize-xxs bold mobile-only ">
68+ < span class ="dot "> < span > Organ</ span > < span > Stage</ span > < span > Technology</ span > </ span > </ mat-header-cell >
69+ < mat-cell *matCellDef ="let element " class ="attributes fontsize-xxs mobile-only ">
70+ < div class ="dot "> < span > {{element.organ}}</ span > < span > {{element.developmentalStage}}</ span > < span > {{renderTechnologyShortName(element.libraryConstructionApproach)}}</ span > </ div >
71+ </ mat-cell >
72+ </ ng-container >
73+ < ng-container matColumnDef ="actions ">
74+ < mat-header-cell *matHeaderCellDef class ="actions fontsize-xxs bold mobile-only ">
75+ < span class ="dot "> < span > Release Files</ span > < span > Visualize</ span > </ span > </ mat-header-cell >
76+ < mat-cell *matCellDef ="let element " class ="actions fontsize-xxs mobile-only ">
77+ < button class ="button secondary size-s "
78+ [routerLink] ="getDatasetReleaseFilesUrl(element.entryId, element.datasetId) "
79+ (click) ="setReleaseFilesReferrer() ">
80+ Downloads
81+ </ button > < button class ="button secondary size-s "
82+ [routerLink] ="getDatasetVisualizationsUrl(element.entryId, element.datasetId) "
83+ (click) ="setReleaseFilesReferrer() "> Visualizations</ button >
7584 </ mat-cell >
7685 </ ng-container >
86+ <!-- Config -->
7787 < mat-header-row *matHeaderRowDef ="columnsToDisplay "> </ mat-header-row >
7888 < mat-row *matRowDef ="let row; columns: columnsToDisplay; "> </ mat-row >
7989 </ mat-table >
0 commit comments