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
1
Merge Requests
1
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
nexedi
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
Show 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
>
<
script
>
import
tooltip
from
'
../../vue_shared/directives/tooltip
'
;
import
identicon
from
'
../../vue_shared/components/identicon.vue
'
;
import
identicon
from
'
../../vue_shared/components/identicon.vue
'
;
import
eventHub
from
'
../event_hub
'
;
import
eventHub
from
'
../event_hub
'
;
...
@@ -8,6 +9,9 @@ import itemStats from './item_stats.vue';
...
@@ -8,6 +9,9 @@ import itemStats from './item_stats.vue';
import
itemActions
from
'
./item_actions.vue
'
;
import
itemActions
from
'
./item_actions.vue
'
;
export
default
{
export
default
{
directives
:
{
tooltip
,
},
components
:
{
components
:
{
identicon
,
identicon
,
itemCaret
,
itemCaret
,
...
@@ -112,10 +116,16 @@ export default {
...
@@ -112,10 +116,16 @@ export default {
</a>
</a>
</div>
</div>
<div
<div
class=
"title"
>
class=
"title
namespace-title
"
>
<a
<a
v-tooltip
:href=
"group.relativePath"
:href=
"group.relativePath"
class=
"no-expand"
>
{{
group
.
fullName
}}
</a>
:title=
"group.fullName"
class=
"no-expand"
data-placement=
"top"
>
{{
group
.
name
}}
</a>
<span
<span
v-if=
"group.permission"
v-if=
"group.permission"
class=
"access-type"
class=
"access-type"
...
...
app/assets/stylesheets/framework/lists.scss
View file @
61a86287
...
@@ -449,6 +449,12 @@ ul.indent-list {
...
@@ -449,6 +449,12 @@ ul.indent-list {
}
}
}
}
.namespace-title
{
.tooltip-inner
{
max-width
:
350px
;
}
}
ul
.group-list-tree
{
ul
.group-list-tree
{
li
.group-row
{
li
.group-row
{
&
.has-description
{
&
.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