Skip to content

Commit

Permalink
Merge pull request #457 from support-project/feature/issue443_url_size
Browse files Browse the repository at this point in the history
#443 Change the display size of the bookmark of URL
  • Loading branch information
koda-masaru authored Sep 8, 2016
2 parents 54736e1 + 393e065 commit fcc8e6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/webapp/js/knowledge-view-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ var addTemplateItem = function(template) {
if (i > 0) {
tag += '<br/>';
}
tag += item.itemName + ': ';

// Bookmrkの場合は、項目はURLのみ
if (template.typeId == -99) {
var url = '';
if (item.itemValue) {
url = item.itemValue;
}
tag += '<a href="' + url + '" target="_blank" >' + url + '</a>';
tag += '<h4>' + item.itemName + ': ';
tag += '<a href="' + url + '" target="_blank" >' + url + '</a></h4>';
} else {
tag += item.itemName + ': ';
if (item.itemType === 1) {
// textarea
tag += item.itemValue;
Expand Down

0 comments on commit fcc8e6b

Please sign in to comment.