Skip to content

Commit

Permalink
Change static name
Browse files Browse the repository at this point in the history
  • Loading branch information
uralbash committed Mar 15, 2016
1 parent 87b7ae8 commit 01e0a1d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
0.0.3 (2016-03-15)
==================

- Change static name

0.0.2 (2016-03-15)
==================

- Add js for list view template

0.0.1 (2016-03-05)
==================

Expand Down
2 changes: 1 addition & 1 deletion ps_crud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
def includeme(config):
config.include('pyramid_jinja2')
config.add_jinja2_search_path("templates")
config.add_static_view('static', 'ps_crud:static')
config.add_static_view('ps_crud_static', 'ps_crud:static')
4 changes: 2 additions & 2 deletions ps_crud/templates/ps_crud/list.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ps_base_url="/" + request.sacrud_prefix + "/" %}
{% endif %}

{% block js %}
{# {{ super() }} #}
{{ super() }}
<script src="{{ request.static_url('ps_crud:static/ps_crud/js/assets/__main.js') }}"></script>
{% endblock %}

Expand Down Expand Up @@ -56,7 +56,7 @@ ps_base_url="/" + request.sacrud_prefix + "/" %}
{% endif %}

<div class="container"><br/></div>
<form id="sacrud-form" method="post" action="{{ ps_massaction_url }}delete">
<form id="sacrud-form" method="post" action="{{ ps_massaction_url }}">
<table class="bordered highlight hoverable z-depth-1">
{% if paginator.items.__len__() > 0 %}
<thead>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def read(name):

setup(
name='ps_crud',
version='0.0.1',
version='0.0.3',
url='http://github.com/sacrud/ps_crud/',
author='Svintsov Dmitry',
author_email='[email protected]',
Expand Down

0 comments on commit 01e0a1d

Please sign in to comment.