aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/utils
diff options
context:
space:
mode:
authorAlexey Kiryushin <alexey.a.kiryushin@gmail.com>2018-11-16 16:19:03 +0300
committerGitHub <noreply@github.com>2018-11-16 16:19:03 +0300
commit866bfff6ff41a2796329c6bb28db688cbfeed2b8 (patch)
tree3da173b79af7727969116df212fba597fbddc3a3 /javascript/app/utils
parentb5a3048a880c8ce1c2bfa795a39576d02f416be2 (diff)
Add cross-package 'find references'
Diffstat (limited to 'javascript/app/utils')
-rw-r--r--javascript/app/utils/api-urls.js3
-rw-r--r--javascript/app/utils/color-themes.js5
2 files changed, 7 insertions, 1 deletions
diff --git a/javascript/app/utils/api-urls.js b/javascript/app/utils/api-urls.js
index b2748b6..2eb2e7c 100644
--- a/javascript/app/utils/api-urls.js
+++ b/javascript/app/utils/api-urls.js
@@ -25,5 +25,8 @@ export const urls = {
},
identifierSearchUrl : function (packageId,query) {
return config.APP.apiUrlPrefix + "/identifiers/"+packageId+"/"+encodeURIComponent(query).replace(/\./g, '%2E');
+ },
+ globalReferencesUrl : function (externalId) {
+ return config.APP.apiUrlPrefix + "/globalReferences/"+encodeURIComponent(externalId);
}
}
diff --git a/javascript/app/utils/color-themes.js b/javascript/app/utils/color-themes.js
index 0a563ff..13b5240 100644
--- a/javascript/app/utils/color-themes.js
+++ b/javascript/app/utils/color-themes.js
@@ -115,7 +115,10 @@ function colorThemeToCss(colorTheme) {
}
.type-info {
border-top: 1px solid ${colorTheme.borderColor} !important;
- }`;
+ }
+ .references-packages {
+ border-right:1px solid ${colorTheme.borderColor} !important;
+ }`;
return css;
}