Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion website/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -452,4 +452,9 @@ input[type='file'] {
.bug-type {
position: absolute;
right: 20px;
}
}
.comment_link {
position:absolute;
bottom:10px;
left:500px;
}
1 change: 1 addition & 0 deletions website/templates/_activity.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% load gravatar %}
<div class="list-group-item activity-strip">
<div class="activity-strip-section">
<a class="comment_link" href="{{activity.target.get_absolute_url }}#comments_form">{{ activity.target.comments.all|length }} comments</a>

{% if activity.actor.socialaccount_set.all.0.get_avatar_url %}
<img src="{{activity.actor.socialaccount_set.all.0.get_avatar_url}}" width="100" class="img-responsive img-rounded">
Expand Down
5 changes: 5 additions & 0 deletions website/templates/domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ <h3><a href="http://{{domain}}" target="/new">{{name}}</a></h3>
<span class="text-muted small">
<em>{{ activity.created|timesince }} ago</em>
</span>

<a class="comment_link" href="{{activity.get_absolute_url }}#comments_form">
{{ activity.comments.all|length }} comments
</a>

{% if activity.screenshot %}
<a href="{{ activity.get_absolute_url }}">
<img src="{{ activity.screenshot.url }}" class="img-responsive screenshot-image">
Expand Down
2 changes: 1 addition & 1 deletion website/templates/issue.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h4>OCR Results:</h4><hr>
{% endif %}
</div>

<form method="post" action="{% url 'comments.views.AddComment' pk=issue.pk %}">
<form method="post" action="{% url 'comments.views.AddComment' pk=issue.pk %}" id="comments_form">
{% csrf_token %}
<div class="form-group">
<textarea placeholder="Comment" class="form-control" name="text_comment" required></textarea>
Expand Down