from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class SearchPlugin(BasePlugin): slug = 'search' urls_page = ['waliki.search.urls'] navbar_links = (('haystack_search', _('Search')),) register(SearchPlugin)
from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class AttachmentsPlugin(BasePlugin): slug = 'attachments' urls_page = ['waliki.attachments.urls'] extra_edit_actions = {'all': [('waliki_attachments', _('Attachments'))]} includes_edit = {'content': 'waliki/attachments_modal.html', 'extra_script': 'waliki/attachments_js.html'} register(AttachmentsPlugin)
from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class BlocksPlugin(BasePlugin): slug = 'blocks' urls_page = ['waliki_blocks.urls'] extra_page_actions = {} navbar_links = () # extra_page_actions = {'all': [('waliki_history', _('History'))]} # navbar_links = (('waliki_whatchanged', _('What changed')),) register(BlocksPlugin)
from waliki.plugins import BasePlugin, register class TogetherJsPlugin(BasePlugin): slug = 'togetherjs' urls_page = [] register(TogetherJsPlugin)
from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class SlidesPlugin(BasePlugin): slug = 'slides' urls_page = ['waliki.slides.urls'] extra_page_actions = { 'reStructuredText': [('waliki_slides', _('View as slides'))] } register(SlidesPlugin)
from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class GitPlugin(BasePlugin): slug = 'git' urls_page = ['waliki.git.urls'] extra_page_actions = {'all': [('waliki_history', _('History'))]} register(GitPlugin)
from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class PdfPlugin(BasePlugin): slug = 'pdf' urls_page = ['waliki.pdf.urls'] extra_page_actions = {'reStructuredText': [('waliki_pdf', _('Get as PDF'))]} register(PdfPlugin)
from django.utils.translation import ugettext_lazy as _ from waliki.plugins import BasePlugin, register class PdfPlugin(BasePlugin): slug = 'pdf' urls_page = ['waliki.pdf.urls'] extra_page_actions = { 'reStructuredText': [('waliki_pdf', _('Get as PDF'))] } register(PdfPlugin)