dropdown_title.vue 583 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<script>
export default {
  props: {
    canEdit: {
      type: Boolean,
      required: true,
    },
  },
};
</script>

<template>
  <div class="title hide-collapsed append-bottom-10">
    {{ __('Labels') }}
    <template v-if="canEdit">
M
Mike Greiling 已提交
16
      <i aria-hidden="true" class="fa fa-spinner fa-spin block-loading" data-hidden="true"> </i>
17 18 19 20 21
      <button
        type="button"
        class="edit-link btn btn-blank float-right js-sidebar-dropdown-toggle"
        data-qa-selector="labels_edit_button"
      >
22 23 24 25 26
        {{ __('Edit') }}
      </button>
    </template>
  </div>
</template>