@(selectedDatasets: scala.collection.mutable.ListBuffer[Dataset])(implicit ident: Option[securesocial.core.Identity], user: Option[models.User]) @import api.Permission @main("Selected Datasets") { Bulk operations are still subject to individual dataset permissions; if you do not have permission to perform the action on one of your selections, it will not be included in the operation. @if(user.isDefined) {

@if(selectedDatasets.length==0) { Download All Delete All Tag All } else { Download All Delete All Tag All } Clear Selections
}

Selected Datasets

@for(d <- selectedDatasets) { @datasets.tile(d, None, "col-lg-3 col-md-3 col-sm-3", false, false, routes.Application.index(), true) }
}