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
994c0536
Commit
994c0536
authored
Dec 18, 2015
by
Sean Hammond
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2809 from hypothesis/one-time-bindings
Use Angular 1.3.x+ one-time bindings
parents
a7865236
d72272ef
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
annotation.html
h/templates/client/annotation.html
+4
-4
thread.html
h/templates/client/thread.html
+1
-1
top_bar.html
h/templates/client/top_bar.html
+2
-2
No files found.
h/templates/client/annotation.html
View file @
994c0536
...
...
@@ -9,7 +9,7 @@
<span>
<a
class=
"annotation-user"
target=
"_blank"
ng-href=
"{{vm.baseURI}}u/{{vm.user()}}"
ng-href=
"{{
::
vm.baseURI}}u/{{vm.user()}}"
>
{{vm.user() | persona}}
</a>
</span>
...
...
@@ -33,11 +33,11 @@
<i
class=
"h-icon-border-color"
ng-show=
"vm.isHighlight() && !vm.editing()"
title=
"This is a highlight. Click 'edit' to add a note or tag."
></i>
<span
class=
"annotation-citation"
ng-bind-html=
"vm.document() | documentTitle"
ng-if=
"!vm.isSidebar"
>
ng-if=
"
::
!vm.isSidebar"
>
</span>
<span
class=
"annotation-citation-domain"
ng-bind-html=
"vm.document() | documentDomain"
ng-if=
"!vm.isSidebar"
>
ng-if=
"
::
!vm.isSidebar"
>
</span>
</span>
</span>
...
...
@@ -49,7 +49,7 @@
target=
"_blank"
title=
"{{vm.updatedString()}}"
ng-if=
"!vm.editing() && vm.updated()"
ng-href=
"{{vm.baseURI}}a/{{vm.id()}}"
ng-href=
"{{
::
vm.baseURI}}a/{{vm.id()}}"
>
{{vm.timestamp}}
</a>
</header>
...
...
h/templates/client/thread.html
View file @
994c0536
...
...
@@ -15,7 +15,7 @@
name=
"annotation"
annotation=
"vm.container.message"
is-last-reply=
"$last"
is-sidebar=
"isSidebar"
is-sidebar=
"
::
isSidebar"
annotation-show-reply-count=
"{{vm.shouldShowNumReplies()}}"
annotation-reply-count=
"{{vm.numReplies()}}"
annotation-reply-count-click=
"vm.toggleCollapsed()"
...
...
h/templates/client/top_bar.html
View file @
994c0536
...
...
@@ -2,7 +2,7 @@
!-->
<div
class=
"top-bar"
ng-class=
"frame.visible && 'shown'"
ng-cloak
>
<!-- Legacy design for top bar, as used in the stream !-->
<div
class=
"top-bar__inner content"
ng-if=
"!isSidebar"
>
<div
class=
"top-bar__inner content"
ng-if=
"
::
!isSidebar"
>
<simple-search
class=
"simple-search"
query=
"searchController.query"
...
...
@@ -23,7 +23,7 @@
The inner div is styled with 'content' to center it in
the stream view.
!-->
<div
class=
"top-bar__inner content"
ng-if=
"isSidebar"
>
<div
class=
"top-bar__inner content"
ng-if=
"
::
isSidebar"
>
<group-list
class=
"group-list"
auth=
"auth"
></group-list>
<div
class=
"top-bar__expander"
></div>
<simple-search
...
...
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