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
a972d786
Commit
a972d786
authored
Mar 23, 2016
by
Sheetal Umesh Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add message to private and group annotations sharer.
parent
7f0b977d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
annotation.scss
h/static/styles/annotation.scss
+11
-1
annotation.html
h/templates/client/annotation.html
+12
-0
No files found.
h/static/styles/annotation.scss
View file @
a972d786
...
...
@@ -180,7 +180,6 @@ $annotation-card-left-padding: 10px;
background
:
$white
;
border
:
1px
solid
$gray-lighter
;
border-radius
:
2px
;
white-space
:
nowrap
;
width
:
200px
;
font-size
:
$body1-font-size
;
cursor
:
default
;
...
...
@@ -224,6 +223,17 @@ $annotation-card-left-padding: 10px;
color
:
$text-color
;
}
.share-dialog-msg
{
color
:
$gray-light
;
margin
:
-5px
10px
10px
10px
;
line-height
:
15px
;
font-size
:
11px
;
}
.share-dialog-msg__audience
{
font-style
:
italic
;
}
.annotation-collapsed-replies
{
display
:
none
;
}
...
...
h/templates/client/annotation.html
View file @
a972d786
...
...
@@ -221,6 +221,18 @@
class=
"share-dialog-target__icon h-icon-mail"
></a>
</span>
<input
class=
"share-dialog-link"
type=
"text"
value=
"{{vm.annotationURI}}"
readonly
>
<span
class=
"share-dialog-msg"
ng-if=
"vm.group() && !vm.group().public && !vm.isPrivate"
>
<span
class=
"share-dialog-msg__audience"
>
Group.
</span>
Only group members will be able to view this annotation.
</span>
<span
class=
"share-dialog-msg"
ng-if=
"vm.isPrivate"
>
<span
class=
"share-dialog-msg__audience"
>
Only me.
</span>
No one else will be able to view this annotation.
</span>
</span>
</span>
</div>
...
...
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