Skip to content

Commit 772c1e0

Browse files
committed
Merge branch 'master' of github.com:djity/djity
2 parents 889dd3e + d1f7675 commit 772c1e0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
Description
32
===========
43

@@ -24,9 +23,9 @@ License: GPL v3
2423
Links
2524
=====
2625

27-
Homepage (roadmap, bug reports, etc.): http://redmine.djity.net/projects/djityportal
28-
Git page (forks, patches, etc.): https://github.com/djity/djity
29-
Official documentation: http://pypi.python.org/pypi/djity
26+
* Homepage (roadmap, bug reports, etc.): http://redmine.djity.net/projects/djityportal
27+
* Git page (forks, patches, etc.): https://github.com/djity/djity
28+
* Official documentation: http://doc.djity.net/djity/
3029

3130
Features
3231
========

djity/templates/djity/simplepage/page.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
{% endblock %}
99

1010
{% block module_onload %}
11+
if(dj.context.perm.edit){
1112
$('#simple_page_content').editable(
1213
{
1314
save_function:'djity.simplepage.save_simple_page',
1415
get_function:'djity.simplepage.get_simple_page',
1516
lang:dj.context.simple_page_lang
1617
});
17-
18+
}
1819
{% endblock %}
1920
{% block body %}
2021
<div id="simple_page_content" >

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
'templates/djity/*.html',
1616
'templates/djity/*/*.html',
1717
'templates/djity/style/*.css',
18-
'media/*/*.*',
19-
'media/*/*/*.*',
20-
'media/*/*/*/*.*',
18+
'static/*/*.*',
19+
'static/*/*/*.*',
20+
'static/*/*/*/*.*',
2121
'project_skeleton/*_tmpl',
2222
'project_skeleton/data/cache/setup_trap',
2323
'project_skeleton/media/setup_trap',

0 commit comments

Comments
 (0)