<commit_before>doctype html

div.wrapper.memberships(
    ng-controller="MembershipsController as ctrl"
    ng-init="section='admin'; sectionName='ADMIN.MEMBERSHIPS.TITLE'"
    tg-memberships
)
    tg-project-menu

    sidebar.menu-secondary.sidebar.settings-nav(tg-admin-navigation="memberships")
        include ../includes/modules/admin-menu

    section.main.admin-membership.admin-common
        .header-with-actions
            header
                include ../includes/components/mainTitle
                .header-message
                    tg-no-more-memberships-explanation(ng-if="canAddUsers == false", project="project", owner-email="projectOwnerEmail")

                    .action-buttons(
                            ng-if="canAddUsers == true"
                        )
                        button.button-green(
                            translate="ADMIN.MEMBERSHIPS.ADD_BUTTON"
                            title="{{ ADMIN.MEMBERSHIPS.ADD_BUTTON_TITLE | translate }}",
                            ng-click="ctrl.addNewMembers()"
                        )

        include ../includes/modules/admin/admin-membership-table

        div.paginator.memberships-paginator<commit_msg>Refactor button position add memberships<commit_after>doctype html

div.wrapper.memberships(
    ng-controller="MembershipsController as ctrl"
    ng-init="section='admin'; sectionName='ADMIN.MEMBERSHIPS.TITLE'"
    tg-memberships
)
    tg-project-menu

    sidebar.menu-secondary.sidebar.settings-nav(tg-admin-navigation="memberships")
        include ../includes/modules/admin-menu

    section.main.admin-membership.admin-common
        .header-with-actions
            header
                include ../includes/components/mainTitle
                .header-message(ng-if="canAddUsers == false")
                    tg-no-more-memberships-explanation(project="project", owner-email="projectOwnerEmail")

            .action-buttons(
                    ng-if="canAddUsers == true"
                )
                button.button-green(
                    translate="ADMIN.MEMBERSHIPS.ADD_BUTTON"
                    title="{{ ADMIN.MEMBERSHIPS.ADD_BUTTON_TITLE | translate }}",
                    ng-click="ctrl.addNewMembers()"
                )

        include ../includes/modules/admin/admin-membership-table

        div.paginator.memberships-paginator
{'fraction_non_alphanumeric': 0.10969927996611606, 'fraction_numerical': 0.0, 'mean_word_length': 1.9088669950738917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4613966', 'n_tokens_mistral': 663, 'n_tokens_neox': 601, 'n_words': 72}