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
3ed6dd6b
Commit
3ed6dd6b
authored
Dec 23, 2016
by
Robert Knight
Committed by
GitHub
Dec 23, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #183 from hypothesis/update-tag-service-urls
Update tag service urls
parents
0d223d88
c83f79c0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
annotation.js
h/static/scripts/directive/annotation.js
+1
-1
service-url.js
h/static/scripts/service-url.js
+1
-1
annotation.html
h/templates/client/annotation.html
+1
-1
No files found.
h/static/scripts/directive/annotation.js
View file @
3ed6dd6b
...
@@ -413,7 +413,7 @@ function AnnotationController(
...
@@ -413,7 +413,7 @@ function AnnotationController(
});
});
};
};
vm
.
tagS
tream
URL
=
function
(
tag
)
{
vm
.
tagS
earch
URL
=
function
(
tag
)
{
return
serviceUrl
(
'search.tag'
,
{
tag
:
tag
});
return
serviceUrl
(
'search.tag'
,
{
tag
:
tag
});
};
};
...
...
h/static/scripts/service-url.js
View file @
3ed6dd6b
...
@@ -15,7 +15,7 @@ var ROUTES = {
...
@@ -15,7 +15,7 @@ var ROUTES = {
'groups.new'
:
'groups/new'
,
'groups.new'
:
'groups/new'
,
'help'
:
'docs/help'
,
'help'
:
'docs/help'
,
'signup'
:
'signup'
,
'signup'
:
'signup'
,
'search.tag'
:
's
tream?q=tag::tag
'
,
'search.tag'
:
's
earch?q=tag:":tag"
'
,
'user'
:
'u/:user'
,
'user'
:
'u/:user'
,
};
};
...
...
h/templates/client/annotation.html
View file @
3ed6dd6b
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
ng-if=
"(vm.canCollapseBody || vm.state().tags.length) && !vm.editing()"
>
ng-if=
"(vm.canCollapseBody || vm.state().tags.length) && !vm.editing()"
>
<ul
class=
"tag-list"
>
<ul
class=
"tag-list"
>
<li
class=
"tag-item"
ng-repeat=
"tag in vm.state().tags"
>
<li
class=
"tag-item"
ng-repeat=
"tag in vm.state().tags"
>
<a
ng-href=
"{{vm.tagS
tream
URL(tag)}}"
target=
"_blank"
>
{{tag}}
</a>
<a
ng-href=
"{{vm.tagS
earch
URL(tag)}}"
target=
"_blank"
>
{{tag}}
</a>
</li>
</li>
</ul>
</ul>
<div
class=
"u-stretch"
></div>
<div
class=
"u-stretch"
></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