$def with (datasets, tags, title, feed, nohits, start, end, limit, user_input, searchvalue)
$if searchvalue is not None:
$var searchvalue: $searchvalue
$if feed:
$:title
$if len(datasets)==0:
No data sets found.
$else:
Results $start - $end out of $nohits.
$for ds in datasets:
-
$:link_to_dataset(getbase(), ds, caption=u"\u25b6 %s [%s]" % (ds.name, ds.sid))
$ds.date,
$if ds.nnets > 1:
$ds.nnets networks,
$if ds.minv==ds.maxv:
$ds.minv
$else:
$ds.minv-$ds.maxv
vertices,
$if ds.mine==ds.maxe:
$ds.mine
$else:
$ds.mine-$ds.maxe
edges.
Tags:
$:", ".join(link_to_tag(getbase(), tag) for tag in tags[ds.id])
$:mymarkdown(ds.shortdescription)
$:prevnexttable(nohits, start, end, limit, user_input)