File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ label.bx-disabled {
5555
5656.box {
5757 float : left;
58- width : 30 % ;
58+ width : 33 % ;
5959}
6060
6161.plots {
Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ public ActionResult Index()
5050 LUIQueryModel model = new LUIQueryModel ( ) ;
5151 model . MissingComponentData = DataAccess . GetMissingComponentData ( GetServerInformation ( ) ) ;
5252 model . NewComponentsSetDatasetId = Models . Settings . get ( "lui:datasetNewComponentsSet" ) . ToString ( ) ;
53+ var datasetInfo = DataAccess . GetDatasetInfo ( model . NewComponentsSetDatasetId , GetServerInformation ( ) ) ;
5354 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+
5458 return View ( "Index" , model ) ;
5559
5660 }
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ public class LUIQueryModel
2626
2727 public string DownloadDatasetId { get ; set ; }
2828
29+ public string NewComponentsSetLastUpdate { get ; set ; }
30+
2931
3032 public LUIQueryModel ( )
3133 {
Original file line number Diff line number Diff line change 3131 else
3232 {
3333 <div class =" box" >
34- Source Dataset : @Model.NewComponentsSetDatasetId <br />
34+ < b > Source Dataset : </ b > @Model.NewComponentsSetDatasetId <br />
3535 </div >
3636 <div class =" box" >
37- Version : @Model.NewComponentsSetDatasetVersion
37+ < b > Version : </ b > @Model.NewComponentsSetDatasetVersion
3838 </div >
3939 <div class =" box" >
40- Last update :
40+ < b > Last update : </ b > @Model.NewComponentsSetLastUpdate
4141 </div >
4242 <br /><br />
4343 foreach (var missingCompData in Model .MissingComponentData )
4444 {
4545
4646 <div class =" box" >
47- Year : @missingCompData.Year <br />
47+ < b > Year : </ b > @missingCompData.Year <br />
4848 </div >
4949 <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 >
5151 </div >
5252 <div class =" plots" >
5353 @foreach ( var plot in missingCompData .PlotIds )
You can’t perform that action at this time.
0 commit comments