提交 61a86287 编写于 作者: K Kushal Pandya 提交者: kushalpandya

Show only group name by default and put full namespace in tooltip

上级 25a3a183
<script>
import tooltip from '../../vue_shared/directives/tooltip';
import identicon from '../../vue_shared/components/identicon.vue';
import eventHub from '../event_hub';
......@@ -8,6 +9,9 @@ import itemStats from './item_stats.vue';
import itemActions from './item_actions.vue';
export default {
directives: {
tooltip,
},
components: {
identicon,
itemCaret,
......@@ -112,10 +116,16 @@ export default {
</a>
</div>
<div
class="title">
class="title namespace-title">
<a
v-tooltip
:href="group.relativePath"
class="no-expand">{{group.fullName}}</a>
:title="group.fullName"
class="no-expand"
data-placement="top"
>
{{group.name}}
</a>
<span
v-if="group.permission"
class="access-type"
......
......@@ -449,6 +449,12 @@ ul.indent-list {
}
}
.namespace-title {
.tooltip-inner {
max-width: 350px;
}
}
ul.group-list-tree {
li.group-row {
&.has-description {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册