Commit 49a59393 authored by christianrhansen's avatar christianrhansen

buttons position

parent 86e7480a
......@@ -18,24 +18,29 @@
form-main(v-model="group", :schema="schema")
template(v-if="invitations.items.length > 0")
//------------------------------------------------------------------------------------------------ confirmed members
content-block.q-pb-lg(v-if="$route.params.uuid")
//------------------------------------------------------------------------------------------------ confirmed members
content-block.q-pb-lg(v-if="$route.params.uuid")
headline(:content="$t('labels.members')")
| {{ $t('help.confirmed_members') }}
headline(:content="$t('labels.members')")
q-item.q-pa-none.bg-transparent
q-item-main
| {{ $t('help.confirmed_members') }}
q-item-side
q-btn.no-shadow(@click="$refs.invitationModal.show()", color="primary", icon="add",
:label="$t('buttons.create_invitation')")
template(v-if="members.length > 0")
q-table(:columns="memberColumns", :data="members", dark, :pagination.sync="memberPagination", hide-bottom)
template(v-if="members.length > 0")
q-table(:columns="memberColumns", :data="members", dark, :pagination.sync="memberPagination", hide-bottom)
q-td(slot="body-cell-actions", slot-scope="props", :props="props", auto-width)
q-btn(:label="$t('buttons.remove')", flat, size="md",
@click="$refs.confirmDeleteMemberModal.show('messages.confirm_remove_member', props.row)")
q-td(slot="body-cell-actions", slot-scope="props", :props="props", auto-width)
q-btn(:label="$t('buttons.remove')", flat, size="md",
@click="$refs.confirmDeleteMemberModal.show('messages.confirm_remove_member', props.row)")
template(v-else)
.text-grey-8 {{ $t('errors.no_confirmed_members') }}
template(v-else)
.text-grey-8 {{ $t('errors.no_confirmed_members') }}
//------------------------------------------------------------------------------------------------------ invitations
//------------------------------------------------------------------------------------------------------ invitations
template(v-if="invitations.items.length > 0")
content-block(v-if="$route.params.uuid")
headline(:content="$t('labels.invitations')")
......@@ -50,15 +55,6 @@
q-btn(:label="$t('buttons.delete')", flat, size="md",
@click="$refs.confirmModal.show('messages.confirm_remove_invitation', props.row)")
.text-right.q-mt-lg
q-btn.no-shadow(@click="$refs.invitationModal.show()", color="primary", icon="add",
:label="$t('buttons.create_invitation')")
template(v-else)
.text-center.q-mt-xl.q-pt-lg
.text-grey-8 {{ $t('errors.no_members') }}
q-btn.no-shadow.q-mt-md(@click="$refs.invitationModal.show()", color="primary", icon="add",
:label="$t('buttons.create_invitation')")
</template>
<script>
......
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