File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ label.bx-disabled {
55
55
56
56
.box {
57
57
float : left;
58
- width : 30 % ;
58
+ width : 33 % ;
59
59
}
60
60
61
61
.plots {
Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ public ActionResult Index()
50
50
LUIQueryModel model = new LUIQueryModel ( ) ;
51
51
model . MissingComponentData = DataAccess . GetMissingComponentData ( GetServerInformation ( ) ) ;
52
52
model . NewComponentsSetDatasetId = Models . Settings . get ( "lui:datasetNewComponentsSet" ) . ToString ( ) ;
53
+ var datasetInfo = DataAccess . GetDatasetInfo ( model . NewComponentsSetDatasetId , GetServerInformation ( ) ) ;
53
54
model . NewComponentsSetDatasetVersion = DataAccess . GetDatasetInfo ( model . NewComponentsSetDatasetId , GetServerInformation ( ) ) . Version ;
55
+ XmlDocument doc = DataAccess . GetMetadata ( model . NewComponentsSetDatasetId , GetServerInformation ( ) ) ;
56
+ model . NewComponentsSetLastUpdate = DateTime . Parse ( doc . GetElementsByTagName ( "metadataLastModificationDateType" ) [ 0 ] . InnerText ) . ToString ( "yyyy-MM-dd" ) ;
57
+
54
58
return View ( "Index" , model ) ;
55
59
56
60
}
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ public class LUIQueryModel
26
26
27
27
public string DownloadDatasetId { get ; set ; }
28
28
29
+ public string NewComponentsSetLastUpdate { get ; set ; }
30
+
29
31
30
32
public LUIQueryModel ( )
31
33
{
Original file line number Diff line number Diff line change 31
31
else
32
32
{
33
33
<div class =" box" >
34
- Source Dataset : @Model.NewComponentsSetDatasetId <br />
34
+ < b > Source Dataset : </ b > @Model.NewComponentsSetDatasetId <br />
35
35
</div >
36
36
<div class =" box" >
37
- Version : @Model.NewComponentsSetDatasetVersion
37
+ < b > Version : </ b > @Model.NewComponentsSetDatasetVersion
38
38
</div >
39
39
<div class =" box" >
40
- Last update :
40
+ < b > Last update : </ b > @Model.NewComponentsSetLastUpdate
41
41
</div >
42
42
<br /><br />
43
43
foreach (var missingCompData in Model .MissingComponentData )
44
44
{
45
45
46
46
<div class =" box" >
47
- Year : @missingCompData.Year <br />
47
+ < b > Year : </ b > @missingCompData.Year <br />
48
48
</div >
49
49
<div class =" box" >
50
- Missing plots : <a class =" plotClick" >Click to show </a >
50
+ < b > Missing plots : </ b >< br /> <a class =" plotClick" >Click to show </a >
51
51
</div >
52
52
<div class =" plots" >
53
53
@foreach ( var plot in missingCompData .PlotIds )
You can’t perform that action at this time.
0 commit comments