Add redactions app JavaScript dependencies
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -10,6 +10,7 @@ from mayan.apps.common.menus import (
|
|||||||
menu_list_facet, menu_object, menu_secondary,
|
menu_list_facet, menu_object, menu_secondary,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .dependencies import * # NOQA
|
||||||
from .links import (
|
from .links import (
|
||||||
link_redaction_create, link_redaction_delete, link_redaction_edit,
|
link_redaction_create, link_redaction_delete, link_redaction_edit,
|
||||||
link_redaction_list
|
link_redaction_list
|
||||||
|
|||||||
15
mayan/apps/redactions/dependencies.py
Normal file
15
mayan/apps/redactions/dependencies.py
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
from mayan.apps.dependencies.classes import (
|
||||||
|
GoogleFontDependency, JavaScriptDependency
|
||||||
|
)
|
||||||
|
|
||||||
|
JavaScriptDependency(
|
||||||
|
label=_('JavaScript image cropper'), module=__name__, name='cropperjs',
|
||||||
|
version_string='=1.4.1'
|
||||||
|
)
|
||||||
|
JavaScriptDependency(
|
||||||
|
module=__name__, name='jquery-cropper', version_string='=1.0.0'
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user