Initial commit to support document comments
This commit is contained in:
@@ -26,6 +26,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form action="{% url multi_object_action_view %}" class="form" method="get">
|
<form action="{% url multi_object_action_view %}" class="form" method="get">
|
||||||
|
{% if scrollable_content %}
|
||||||
|
<div style="border: 1px solid black; height: {{ scrollable_content_height }}; overflow: auto;">
|
||||||
|
{% endif %}
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
{% if not hide_header %}
|
{% if not hide_header %}
|
||||||
@@ -86,6 +89,9 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% if scrollable_content %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% if multi_select or multi_select_as_buttons %}
|
{% if multi_select or multi_select_as_buttons %}
|
||||||
{% if multi_select_as_buttons %}
|
{% if multi_select_as_buttons %}
|
||||||
{% get_multi_item_links as multi_item_links %}
|
{% get_multi_item_links as multi_item_links %}
|
||||||
@@ -108,7 +114,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% paginate %}
|
{% paginate %}
|
||||||
|
|
||||||
{% if side_bar %}
|
{% if side_bar %}
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ INSTALLED_APPS = (
|
|||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
'django.contrib.admindocs',
|
'django.contrib.admindocs',
|
||||||
|
'django.contrib.comments',
|
||||||
'navigation',
|
'navigation',
|
||||||
'web_theme',
|
'web_theme',
|
||||||
'main',
|
'main',
|
||||||
|
|||||||
1
urls.py
1
urls.py
@@ -18,6 +18,7 @@ urlpatterns = patterns('',
|
|||||||
(r'^admin/', include(admin.site.urls)),
|
(r'^admin/', include(admin.site.urls)),
|
||||||
(r'^grappelli/', include('grappelli.urls')),
|
(r'^grappelli/', include('grappelli.urls')),
|
||||||
(r'^sentry/', include('sentry.urls')),
|
(r'^sentry/', include('sentry.urls')),
|
||||||
|
(r'^comments/', include('django.contrib.comments.urls')),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user