Commit ce836f4b authored by Ujvari Gergely's avatar Ujvari Gergely

Showing reply count in summary view

parent a205790c
......@@ -580,4 +580,8 @@ blockquote {
.annotator-controls, .magicontrols .show, .bottombar, {
display: none;
}
.reply-count {
@include tertiarytext;
}
}
......@@ -328,6 +328,14 @@ class Viewer
$scope.$on '$routeUpdate', refresh
$scope.directChildren = (annotation) ->
threading.getContainer(annotation.id).children.length
$scope.allChildren = (annotation) ->
if threading.getContainer(annotation.id).flattenChildren()?
return threading.getContainer(annotation.id).flattenChildren().length
0
refresh()
refresh: ($scope, $routeParams, threading, heatmap) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment