Skip to content

Commit

Permalink
Merge pull request #18 from tulimaki/enable-xtheme-editing
Browse files Browse the repository at this point in the history
Include JS catalog for superusers in front to enable xtheme
  • Loading branch information
Pikkupomo authored Sep 13, 2016
2 parents cc2c096 + 37b3cf5 commit 4c7a64a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
if __name__ == '__main__':
setuptools.setup(
name="shuup_megastore_theme",
version="1.0.9",
version="1.1.0",
description="Shuup Megastore Theme",
packages=setuptools.find_packages(),
include_package_data=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Oswald:400,300,700|Open+Sans:400,600">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:400,300,500">
<link rel="stylesheet" type="text/css" href="{{ static("shuup_megastore_theme/css/shuup_megastore_theme.css") }}?v=0.0.1">
{% if user.is_superuser %}
<script type="text/javascript" src="{{ url("shuup_admin:js-catalog") }}?lang={{ LANGUAGE_CODE }}"></script>
{% endif %}
</head>
<body>
<div class="content-wrap">
Expand Down

0 comments on commit 4c7a64a

Please sign in to comment.