Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
0d204cb8
Commit
0d204cb8
authored
Aug 06, 2015
by
Nick Stenning
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2412 from hypothesis/share-a-group
Share a group
parents
fd8cc47b
ac28b0dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
app.scss
h/static/styles/app.scss
+15
-0
group_list.html
h/templates/client/group_list.html
+6
-2
No files found.
h/static/styles/app.scss
View file @
0d204cb8
...
@@ -129,10 +129,25 @@ ol {
...
@@ -129,10 +129,25 @@ ol {
}
}
}
}
/* The groups dropdown list. */
.group-list
{
.group-list
{
margin-right
:
0
.5em
;
margin-right
:
0
.5em
;
}
}
$group-list-width
:
225px
;
.group-list
.dropdown-menu
{
width
:
$group-list-width
;
}
.group-list
.dropdown-menu
.group-name
{
max-width
:
$group-list-width
-
45px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.user-picker
{
.user-picker
{
.avatar
{
.avatar
{
border-radius
:
2px
;
border-radius
:
2px
;
...
...
h/templates/client/group_list.html
View file @
0d204cb8
...
@@ -4,9 +4,13 @@
...
@@ -4,9 +4,13 @@
</span>
</span>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
<li
ng-repeat=
"group in groups"
>
<li
ng-repeat=
"group in groups"
>
<a
ng-href=
"{{group.url}}"
ng-bind=
"group.name"
target=
"_blank"
></a>
<a
ng-href=
"{{group.url}}"
ng-bind=
"group.name"
target=
"_blank"
class=
"group-name pull-left"
></a>
<a
ng-href=
"{{group.url}}"
target=
"_blank"
class=
"h-icon-link pull-right"
title=
"Share this group"
></a>
<div
style=
"clear:both;"
></div>
</li>
</li>
<li>
<li>
<a
href=
"/groups/new"
target=
"_blank"
><i
class=
"h-icon-add"
></i>
Create a g
roup
</a>
<a
href=
"/groups/new"
target=
"_blank"
><i
class=
"h-icon-add"
></i>
New G
roup
</a>
</li>
</li>
</ul>
</ul>
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