section.us-activity.hidden
    div.activity-single(tg-comment, ng-repeat="change in history")
        div.activity-user
            a.avatar(href="", tg-bo-title="ctrl.getUserFullName(change.user.pk)")
                img(tg-bo-src="ctrl.getUserAvatar(change.user.pk)", tg-bo-alt="ctrl.getUserFullName(change.user.pk)")

        div.activity-content
            div.activity-username
                a.username(href="TODO", tg-bo-title="ctrl.getUserFullName(change.user.pk)" tg-bo-html="ctrl.getUserFullName(change.user.pk)")
                span.date {{ change.created_at | date:'yyyy-MM-dd HH:mm' }}

            div.activity-inner(ng-repeat="(key, change) in change.values_diff")
                div.activity-changed
                    span(tg-bo-html="key")
                div.activity-fromto
                    p
                        strong from <br />
                        span(tg-bo-html="ctrl.getChangeText(change[0])")
                    p
                        strong to <br />
                        span(tg-bo-html="ctrl.getChangeText(change[1])")

    //a.more-activity(href="", title="show more comments")
    //     span show previous activity
    //     span.prev-activity-num (3 more)
