Commit 848c7d8f authored by Phil Hughes's avatar Phil Hughes

Merge branch 'gt-update-ops-dashboard-remove-dropdown-button' into 'master'

Update ops dashboard remove dropdown button

See merge request gitlab-org/gitlab-ee!8236
parents 5f68a904 001969b7
<script> <script>
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import ProjectAvatar from '~/vue_shared/components/project_avatar/default.vue'; import ProjectAvatar from '~/vue_shared/components/project_avatar/default.vue';
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui';
export default { export default {
components: { components: {
Icon, Icon,
ProjectAvatar, ProjectAvatar,
}, },
directives: {
GlTooltip: GlTooltipDirective,
},
props: { props: {
project: { project: {
type: Object, type: Object,
...@@ -38,25 +42,30 @@ export default { ...@@ -38,25 +42,30 @@ export default {
</span> </span>
</a> </a>
</div> </div>
<div class="dropdown"> <div class="dropdown js-more-actions">
<div <div
class="d-flex align-items-center ml-2" v-gl-tooltip
class="js-more-actions-toggle d-flex align-items-center ml-2"
data-toggle="dropdown" data-toggle="dropdown"
:title="__('More actions')"
> >
<icon <icon
name="ellipsis_v" name="ellipsis_v"
class="text-secondary" class="text-secondary"
/> />
</div> </div>
<div class="dropdown-menu dropdown-menu-right"> <ul class="dropdown-menu dropdown-menu-right">
<button <li>
type="button" <button
class="js-remove-button dropdown-item btn-link text-danger prepend-left-default append-right-default outline-0" class="btn btn-transparent js-remove-button"
@click="onRemove" type="button"
> @click="onRemove">
{{ __('Remove') }} <span class="text-danger">
</button> {{ __('Remove') }}
</div> </span>
</button>
</li>
</ul>
</div> </div>
</div> </div>
</template> </template>
---
title: Update ops dashboard remove dropdown button
merge_request: 8236
author: George Tsiolis
type: fixed
...@@ -5181,6 +5181,9 @@ msgstr "" ...@@ -5181,6 +5181,9 @@ msgstr ""
msgid "More" msgid "More"
msgstr "" msgstr ""
msgid "More actions"
msgstr ""
msgid "More info" msgid "More info"
msgstr "" msgstr ""
......
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