The ‘download’ views
Specific views for entities adapting to IDownloadable
Components
-
class
cubicweb.web.views.idownloadable.DownloadBox(*args, **kwargs)[source]
add download box
Download views
-
class
cubicweb.web.views.idownloadable.DownloadView(req=None, rset=None, **kwargs)[source]
download view
this view is replacing the deprecated ‘download’ controller and allow
downloading of entities providing the necessary interface
-
class
cubicweb.web.views.idownloadable.DownloadLinkView(req=None, rset=None, **kwargs)[source]
view displaying a link to download the file
-
class
cubicweb.web.views.idownloadable.IDownloadablePrimaryView(req=None, rset=None, **kwargs)[source]
-
class
cubicweb.web.views.idownloadable.IDownloadableOneLineView(req=None, rset=None, **kwargs)[source]
Embedded views
-
class
cubicweb.web.views.idownloadable.ImageView(req=None, rset=None, **kwargs)[source]
image embedded view
-
class
cubicweb.web.views.idownloadable.EHTMLView(req=None, rset=None, **kwargs)[source]
html embedded view