|
Lines 1369-1378
Link Here
|
| 1369 |
searchable: true, |
1369 |
searchable: true, |
| 1370 |
orderable: true, |
1370 |
orderable: true, |
| 1371 |
render: function (data, type, row, meta) { |
1371 |
render: function (data, type, row, meta) { |
| 1372 |
let node = '<a href="suggestion.pl?suggestionid=%s&op=show" title="%s">%s'.format(row.suggestion_id, _("suggestion"), row.title); |
1372 |
let a = '<a href="suggestion.pl?suggestionid=%s&op=show" title="%s">'.format(row.suggestion_id, _("suggestion")); |
| 1373 |
if(row.author) { |
1373 |
let node = a + ( row.author ? a + _("%s, by %s").format(row.title.escapeHtml(), row.author.escapeHtml()) : row.title.escapeHtml()); |
| 1374 |
node += ", %s %s".format(_("by"),row.author.escapeHtml()); |
|
|
| 1375 |
} |
| 1376 |
node += '</a><br />'; |
1374 |
node += '</a><br />'; |
| 1377 |
if(row.copyright_date) node += ' © <span class="suggestion_copyrightdate">%s</span>'.format(row.copyright_date); |
1375 |
if(row.copyright_date) node += ' © <span class="suggestion_copyrightdate">%s</span>'.format(row.copyright_date); |
| 1378 |
if(row.volume_desc) node += '; <span class="suggestion_volume">%s:<em>%s</em></span>'.format(_("Volume"), row.volume_desc); |
1376 |
if(row.volume_desc) node += '; <span class="suggestion_volume">%s:<em>%s</em></span>'.format(_("Volume"), row.volume_desc); |
| 1379 |
- |
|
|