Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass concept URI, labels etc. as JavaScript variables #438

Closed
osma opened this issue Feb 2, 2016 · 0 comments
Closed

Pass concept URI, labels etc. as JavaScript variables #438

osma opened this issue Feb 2, 2016 · 0 comments
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Feb 2, 2016

The current HTML template has a block which passes a few bits of information to javascript code:

<!-- variables passed through to javascript -->
var lang = "en";
var content_lang = "en";
var vocab = "yso";

For the benefit of additional javascript code (e.g. widgets that perform lookups into bibliographic databases), we could also add:

  • URI of current concept (so it doesn't have to be looked up from HTML code)
  • prefLabel of current concept in all languages (ditto)
  • uriSpace setting of current vocabulary
@osma osma added this to the Next Tasks milestone Feb 2, 2016
@osma osma modified the milestones: Next Tasks, 1.6 Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant