Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
dc1ec459
Commit
dc1ec459
authored
Sep 21, 2011
by
stef
Browse files
[fix] comment listing.
parent
c3495442
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/view.html
View file @
dc1ec459
...
...
@@ -76,7 +76,15 @@ $(document).ready(function() {
{% if not key %}
<div
id=
"comments"
>
<h3>
{% trans "Comments" %}
</h3>
{% render_comment_list for v %}
{% get_comment_list for v as cmt_list %}
{% for comment in cmt_list %}
<div
class=
"comment"
>
<p><a
href=
"{{ comment.user_url }}"
>
{{
comment.user_name }}
</a>
- {{ comment.submit_date
}}
</p>
{{ comment.comment }}
</div>
{% endfor %}
<div
class=
"toggle button"
>
{% trans "Add comment" %}
</div>
<div
id=
"comment_form"
style=
"display: none;"
>
{% render_comment_form for v %}
...
...
Write
Preview
Supports
Markdown
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