Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
PT-3158: "phenotips.IndexOntology.version" displayed in place of the …
Browse files Browse the repository at this point in the history
…actual version in vocabulary term descriptions

Fixed
  • Loading branch information
sdumitriu committed Mar 21, 2017
1 parent 4d2ea9c commit 6ff9e81
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4599,7 +4599,7 @@ document.observe("xwiki:dom:updated", init);
},

addDatabaseCreditInfo : function () {
var version = "$services.localization.render('phenotips.IndexOntology.version', ['" + this._builder.database.version + "'])";
var version = "$services.localization.render('phenotips.indexVocabulary.version', ['" + this._builder.database.version + "'])";
var citation = this._builder.database.citation.concat(". ").concat(version);
var credits = new Element('a', {'class' : 'reference', href : this._builder.database.link, 'target' : '_blank', 'title' : citation}).update(this._builder.database.name);
var creditsWrapper = new Element('div', {'class' : 'hint'}).update(credits.wrap('span', {'class' : 'reference-wrapper'}));
Expand Down

0 comments on commit 6ff9e81

Please sign in to comment.