Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
gstudio
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnowledge
gstudio
Commits
b4c8b3df
Commit
b4c8b3df
authored
May 06, 2015
by
Kedar A.
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sending node's _id of discussion object
parent
7a207fff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/discussion.html
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/discussion.html
+2
-1
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html
...sys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html
+1
-0
gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py
gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py
+1
-1
No files found.
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/discussion.html
View file @
b4c8b3df
...
...
@@ -228,13 +228,14 @@
type
:
"
POST
"
,
url
:
"
{% url 'discussion_reply' group_id %}
"
,
url
:
"
{% url 'discussion_reply' group_id
node.pk
%}
"
,
data
:
{
"
csrfmiddlewaretoken
"
:
"
{{ csrf_token }}
"
,
"
prior_node_id
"
:
priorNodeId
,
"
reply_text_content
"
:
replyContent
},
success
:
function
(
data
){
...
...
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/node_ajax_view.html
View file @
b4c8b3df
...
...
@@ -459,6 +459,7 @@ ul#navigation li a.last {
</a></dd>
{% endif %}
<!-- ---END of Discussion -->
{% else %}
<!-- If its group then show management tab only for group admins and superuser-->
...
...
gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py
View file @
b4c8b3df
...
...
@@ -95,7 +95,7 @@ urlpatterns = patterns('',
# --discussion--
url
(
r'^(?P<group_id>[^/]+)/(?P<node_id>[^/]+)/create_discussion$'
,
'gnowsys_ndf.ndf.views.methods.create_discussion'
,
name
=
'create_discussion'
),
url
(
r'^(?P<group_id>[^/]+)/discussion_reply$'
,
'gnowsys_ndf.ndf.views.methods.discussion_reply'
,
name
=
'discussion_reply'
),
url
(
r'^(?P<group_id>[^/]+)/
(?P<node_id>[^/]+)/
discussion_reply$'
,
'gnowsys_ndf.ndf.views.methods.discussion_reply'
,
name
=
'discussion_reply'
),
url
(
r'^(?P<group_id>[^/]+)/discussion_delete_reply$'
,
'gnowsys_ndf.ndf.views.methods.discussion_delete_reply'
,
name
=
'discussion_delete_reply'
),
# --end of discussion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment