def project_screenshots(): from allura.lib.widgets.project_list import ProjectScreenshots ps = ProjectScreenshots() g.resource_manager.register(ps) response = ps.display(project=c.project) return response
class W: label_edit = ffw.LabelEdit() group_card = aw.GroupCard() permission_card = aw.PermissionCard() new_group_settings = aw.NewGroupSettings() screenshot_admin = aw.ScreenshotAdmin() screenshot_list = ProjectScreenshots(draggable=True) metadata_admin = aw.MetadataAdmin() audit = aw.AuditLog() page_list = ffw.PageList()
class W: markdown_editor = ffw.MarkdownEdit() label_edit = ffw.LabelEdit() mount_delete = ffw.Lightbox(name='mount_delete',trigger='a.mount_delete') admin_modal = ffw.Lightbox(name='admin_modal',trigger='a.admin_modal') install_modal = ffw.Lightbox(name='install_modal',trigger='a.install_trig') group_card = aw.GroupCard() permission_card = aw.PermissionCard() group_settings = aw.GroupSettings() new_group_settings = aw.NewGroupSettings() screenshot_admin = aw.ScreenshotAdmin() screenshot_list = ProjectScreenshots() metadata_admin = aw.MetadataAdmin() audit = aw.AuditLog() page_list=ffw.PageList()
class W: screenshot_list = ProjectScreenshots()