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
6b44d901
Commit
6b44d901
authored
Jul 14, 2016
by
Sheetal Umesh Kumar
Committed by
GitHub
Jul 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #34 from hypothesis/annot-tabs-copy-update
Annotation / Notes tabs copy update and style tweaks
parents
c0d800bf
77de66ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
selection-tabs.scss
h/static/styles/selection-tabs.scss
+5
-2
selection_tabs.html
h/templates/client/selection_tabs.html
+5
-2
No files found.
h/static/styles/selection-tabs.scss
View file @
6b44d901
...
...
@@ -22,6 +22,8 @@
// Disable focus ring for selected tab
outline
:
none
;
user-select
:
none
;
}
.selection-tabs__type.is-selected
{
...
...
@@ -34,6 +36,7 @@
font-size
:
10px
;
}
.selection-loading
{
text-align
:
center
;
.selection-tabs__empty-message
{
position
:
relative
;
top
:
10px
;
}
h/templates/client/selection_tabs.html
View file @
6b44d901
...
...
@@ -11,11 +11,11 @@
href=
"#"
ng-class=
"{'is-selected': vm.selectedTab === vm.TAB_NOTES}"
h-on-touch=
"vm.selectTab('note')"
>
Notes
Page
Notes
<span
class=
"selection-tabs__count"
ng-if=
"vm.totalNotes > 0"
>
{{ vm.totalNotes }}
</sup>
</a>
</div>
<div
ng-if=
"!vm.isLoading()"
>
<div
ng-if=
"!vm.isLoading()"
class=
"selection-tabs__empty-message"
>
<div
ng-if=
"vm.selectedTab === vm.TAB_NOTES && vm.totalNotes === 0"
class=
"annotation-unavailable-message"
>
<p
class=
"annotation-unavailable-message__label"
>
There are no page notes in this group.
...
...
@@ -28,6 +28,9 @@
<div
ng-if=
"vm.selectedTab === vm.TAB_ANNOTATIONS && vm.totalAnnotations === 0"
class=
"annotation-unavailable-message"
>
<p
class=
"annotation-unavailable-message__label"
>
There are no annotations in this group.
<br
/>
Create one by selecting some text and clicking the
<i
class=
"help-icon h-icon-annotate"
></i>
button.
</p>
</div>
</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