div.profile.centered(ng-if="vm.user")
    tg-profile-bar(
        user="vm.user"
        isCurrentUser="vm.isCurrentUser"
    )
    div.main
        tg-profile-tabs.timeline-wrapper
            div(
                tg-profile-tab="{{'USER.PROFILE.TABS.ACTIVITY_TAB' | translate}}"
                tab-title="{{'USER.PROFILE.TABS.ACTIVITY_TAB_TITLE' | translate}}"
                tab-icon="icon-timeline"
                tab-active
            )
                div(tg-user-timeline, user="vm.user", current-user="vm.isCurrentUser")

            div(
                tg-profile-tab="{{'USER.PROFILE.TABS.PROJECTS_TAB' | translate}}"
                tab-title="{{'USER.PROFILE.TABS.PROJECTS_TAB_TITLE' | translate}}"
                tab-icon="icon-project"
                tab-disabled="{{vm.isCurrentUser}}"
            )
                div(tg-profile-projects, user="vm.user")

            div(
                tg-profile-tab="{{'USER.PROFILE.TABS.LIKES_TAB' | translate}}"
                tab-title="{{'USER.PROFILE.TABS.LIKES_TAB_TITLE' | translate}}"
                tab-icon="icon-like"
            )
                div(tg-profile-liked, user="vm.user")

            div(
                tg-profile-tab="{{'USER.PROFILE.TABS.VOTES_TAB' | translate}}"
                tab-title="{{'USER.PROFILE.TABS.VOTES_TAB_TITLE' | translate}}"
                tab-icon="icon-upvote"
            )
                div(tg-profile-voted, user="vm.user")

            div(
                tg-profile-tab="{{'USER.PROFILE.TABS.WATCHED_TAB' | translate}}"
                tab-title="{{'USER.PROFILE.TABS.WATCHED_TAB_TITLE' | translate}}"
                tab-icon="icon-watch"
            )
                div(tg-profile-watched, user="vm.user")

            div(
                tg-profile-tab="{{'USER.PROFILE.TABS.CONTACTS_TAB' | translate}}"
                tab-title="{{'USER.PROFILE.TABS.CONTACTS_TAB_TITLE' | translate}}"
                tab-icon="icon-team"
            )
                div(tg-profile-contacts, user="vm.user")

        include includes/profile-sidebar
