Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d70a8d04

Přidáno uživatelem Ondřej Anděl před téměř 4 roky(ů)

Bug #8992: Upravit problémy v záznamech

Zobrazit rozdíly:

application/view/contents/searchContent.php
334 334
                        result += "<td>" + renderTag(item.tag.tag) + "</td>";
335 335
                        result += "<td>" + renderManuscript(item.manuscript) + "</td>";
336 336
                        result += "<td>" + item.position1 + (item.position2 ? ("/" + item.position2 + (item.positiondetail ? "/"  + item.positiondetail :  "")) : "")  + "</td>";
337
                        result += "<td>" + ((item.description2 !== null) ? item.description2 : "-") + "</td>";
337
                        result += "<td>" + ((item.description2 !== null && item.description2.trim().length > 0) ? (normalizeDescription(item.description2)) : "-") + "</td>";
338 338
                        result += "<td class=\"action-td\">" +
339 339
                            "<button class=\"btn mr-1\" title=\"Upravit\"  data-toggle=\"modal\" data-target=\"#edit-modal\" data-pseudo-id='" + id + "' data-title=\"Upravit záznam\"><i class=\"fa fa-pencil\"></i></button>" +
340 340
                            "<button class=\"btn\" title=\"Detail\"  data-toggle=\"modal\" data-target=\"#detail-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-search\"></i></button>";

Také k dispozici: Unified diff