Commit d7d13f76 authored by George Tsiolis's avatar George Tsiolis

Replace icons in IssueCardInner vue component

parent 448b3aa6
<script> <script>
import $ from 'jquery'; import $ from 'jquery';
import IssueCardWeight from 'ee/boards/components/issue_card_weight.vue'; import IssueCardWeight from 'ee/boards/components/issue_card_weight.vue';
import Icon from '~/vue_shared/components/icon.vue';
import UserAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue'; import UserAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
import eventHub from '../eventhub'; import eventHub from '../eventhub';
import tooltip from '../../vue_shared/directives/tooltip'; import tooltip from '../../vue_shared/directives/tooltip';
...@@ -10,6 +11,7 @@ ...@@ -10,6 +11,7 @@
components: { components: {
UserAvatarLink, UserAvatarLink,
IssueCardWeight, IssueCardWeight,
Icon,
}, },
directives: { directives: {
tooltip, tooltip,
...@@ -142,11 +144,12 @@ ...@@ -142,11 +144,12 @@
<div> <div>
<div class="board-card-header"> <div class="board-card-header">
<h4 class="board-card-title"> <h4 class="board-card-title">
<i <icon
v-if="issue.confidential" v-if="issue.confidential"
class="fa fa-eye-slash confidential-icon" name="eye-slash"
aria-hidden="true" aria-hidden="true"
></i> class="confidential-icon"
/>
<a <a
:href="issue.path" :href="issue.path"
:title="issue.title" :title="issue.title"
......
...@@ -350,8 +350,7 @@ ...@@ -350,8 +350,7 @@
} }
.confidential-icon { .confidential-icon {
position: relative; vertical-align: text-top;
top: 1px;
margin-right: 5px; margin-right: 5px;
} }
} }
......
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