Skip to content
Snippets Groups Projects
Commit f8dda9ea authored by bwalkow's avatar bwalkow
Browse files

Upgrade img

parent b0cbef14
1 merge request!2Develop
Pipeline #13664 passed with stage
in 16 seconds
...@@ -185,7 +185,7 @@ PlWordnet.prototype.createAdditionalInfo = function(jsonData, title, titleEn, la ...@@ -185,7 +185,7 @@ PlWordnet.prototype.createAdditionalInfo = function(jsonData, title, titleEn, la
'<a href="/synsetid/plwordnet/' + element2.synset + '">' + '<a href="/synsetid/plwordnet/' + element2.synset + '">' +
'<p class="title">' + element2.lemma + '</p>' + '<p class="title">' + element2.lemma + '</p>' +
'</a>' + '</a>' +
`<img width="40" height="20" class="img-responsive show-icon" src="/img/lang-${lang}-32.png" alt="Language1" />` + `<img width="40" height="20" class="img-responsive show-icon" src="/img/lang-${lang}-32.png" alt="Language" />` +
definition + definition +
horizontalLine; horizontalLine;
}); });
...@@ -195,7 +195,7 @@ PlWordnet.prototype.createAdditionalInfo = function(jsonData, title, titleEn, la ...@@ -195,7 +195,7 @@ PlWordnet.prototype.createAdditionalInfo = function(jsonData, title, titleEn, la
let data = let data =
'<div class="plwordnet-box">' + '<div class="plwordnet-box">' +
'<h2>' + '<h2>' +
'<img class="img-responsive show-icon" src="/img/lang-' + lang + '-32.png" alt="Language2" />' + '<img class="img-responsive show-icon" src="/img/lang-' + lang + '-32.png" alt="Language" />' +
'<span lang="pl">' + title + ' (' + quantity + ')' + '</span>' + '<span lang="pl">' + title + ' (' + quantity + ')' + '</span>' +
'<span lang="en">' + titleEn + ' (' + quantity + ')' + '</span>' + '<span lang="en">' + titleEn + ' (' + quantity + ')' + '</span>' +
'</h2>' + '</h2>' +
...@@ -246,7 +246,7 @@ PlWordnet.prototype.showHTMLForSynset = function() { ...@@ -246,7 +246,7 @@ PlWordnet.prototype.showHTMLForSynset = function() {
'<div class="fixed-space category"><span lang="pl">Słowo</span><span lang="en">Word</span></div>' + '<div class="fixed-space category"><span lang="pl">Słowo</span><span lang="en">Word</span></div>' +
'<div class="fixed-space">' + '<div class="fixed-space">' +
'<h2 class="lemma">' + element.lemma + '</h2>' + '<h2 class="lemma">' + element.lemma + '</h2>' +
'<img class="img-responsive show-icon" src="/img/lang-' + language + '-32.png" alt="Language3" />' + '<img class="img-responsive show-icon" src="/img/lang-' + language + '-32.png" alt="Language" />' +
'<p class="description">' + definition + '</p>' + '<p class="description">' + definition + '</p>' +
'</div>' + '</div>' +
'<hr />' + '<hr />' +
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment