Replace WebGridBootstrapPager
Improve Leaf details page
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace LeafWeb.WebCms.Models
|
||||
{
|
||||
@@ -67,5 +68,15 @@ namespace LeafWeb.WebCms.Models
|
||||
|
||||
return nvs;
|
||||
}
|
||||
|
||||
public bool HasExtendedParameters =>
|
||||
!(
|
||||
string.IsNullOrEmpty(siteid)
|
||||
&& string.IsNullOrEmpty(species)
|
||||
&& string.IsNullOrEmpty(lat)
|
||||
&& string.IsNullOrEmpty(latr)
|
||||
&& string.IsNullOrEmpty(lon)
|
||||
&& string.IsNullOrEmpty(lonr)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user