-
-
Notifications
You must be signed in to change notification settings - Fork 313
Added number of comments per issues on issue page #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
souravbadami
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @farziengineer -- I've done a first pass. I think, we can extend this to the homepage as well. What do you think ?
website/static/css/style.css
Outdated
| position:absolute; | ||
| bottom:10px; | ||
| left:500px; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a new line here at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the brace "}" ? Purpose? Is it about clarity. Just curious.
website/templates/domain.html
Outdated
| <em>{{ activity.created|timesince }} ago</em> | ||
| </span> | ||
|
|
||
| <a class="comment_link" href="{{activity.get_absolute_url }}#comments_form"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the single space after <a.
|
Sure why not. I'll do a fix |
website/templates/_activity.html
Outdated
| {% 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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the single space after <a.
|
@farziengineer -- This looks good. I have added some additional comments on the thread. We can merge this once you address them. |
* Added number of comments per issues on issue page * Added number of comments on issues on homepage * Removed lines from html
Now the issues page would include the number of comments on each issues ,and clicking on each link would lead to the respective issue.
