diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/fixtures/groups.json | 50 | ||||
-rw-r--r-- | main/templatetags/cdn.py | 2 |
2 files changed, 51 insertions, 1 deletions
diff --git a/main/fixtures/groups.json b/main/fixtures/groups.json index 385e321d..0a3c966c 100644 --- a/main/fixtures/groups.json +++ b/main/fixtures/groups.json @@ -34,6 +34,36 @@ "delete_todolistpkg", "main", "todolistpkg" + ], + [ + "add_news", + "news", + "news" + ], + [ + "change_news", + "news", + "news" + ], + [ + "add_signoff", + "packages", + "signoff" + ], + [ + "change_signoff", + "packages", + "signoff" + ], + [ + "add_signoffspecification", + "packages", + "signoffspecification" + ], + [ + "change_signoffspecification", + "packages", + "signoffspecification" ] ] } @@ -350,6 +380,26 @@ "delete_todolistpkg", "main", "todolistpkg" + ], + [ + "add_signoff", + "packages", + "signoff" + ], + [ + "change_signoff", + "packages", + "signoff" + ], + [ + "add_signoffspecification", + "packages", + "signoffspecification" + ], + [ + "change_signoffspecification", + "packages", + "signoffspecification" ] ] } diff --git a/main/templatetags/cdn.py b/main/templatetags/cdn.py index 5b1b2d46..5cb12fcf 100644 --- a/main/templatetags/cdn.py +++ b/main/templatetags/cdn.py @@ -11,7 +11,7 @@ def jquery(): link = 'https://ajax.googleapis.com/ajax/libs/jquery/' \ '%s/jquery.min.js' % version else: - link = '/media/jquery-%s.js' % version + link = '/media/jquery-%s.min.js' % version return '<script type="text/javascript" src="%s"></script>' % link @register.tag |