Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
61a86287
Commit
61a86287
authored
Nov 29, 2017
by
Kushal Pandya
Committed by
kushalpandya
Dec 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show only group name by default and put full namespace in tooltip
parent
25a3a183
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
app/assets/javascripts/groups/components/group_item.vue
app/assets/javascripts/groups/components/group_item.vue
+12
-2
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+6
-0
No files found.
app/assets/javascripts/groups/components/group_item.vue
View file @
61a86287
<
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"
...
...
app/assets/stylesheets/framework/lists.scss
View file @
61a86287
...
...
@@ -449,6 +449,12 @@ ul.indent-list {
}
}
.namespace-title
{
.tooltip-inner
{
max-width
:
350px
;
}
}
ul
.group-list-tree
{
li
.group-row
{
&
.has-description
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment