Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f20e0b8b

Přidáno uživatelem Ondřej Anděl před více než 3 roky(ů)

Fix: merge-fix (all buttons in one td)

Zobrazit rozdíly:

application/view/searchContent.php
614 614
                        result += "<td class=\"action-td\">" +
615 615
                            "<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>" + //TODO ADMIN change , regular send report
616 616
                            "<button class=\"btn\" title=\"Detail\"  data-toggle=\"modal\" data-target=\"#detail-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-search\"></i></button>" +
617
                            "<button class=\"btn ml-1\" title=\"Odstranit\"  data-toggle=\"modal\" data-target=\"#remove-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-trash\"></i></button>" + //TODO ADMIN change , regular send report
617 618
                            "</td>";
618
                        result += "<td class=\"action-td\">" +
619
                            "<button class=\"btn\" title=\"Odstranit\"  data-toggle=\"modal\" data-target=\"#remove-modal\" data-pseudo-id='" + id + "'><i class=\"fa fa-trash\"></i></button>" +
620
                            "</td>"; //added button for removing entry
621 619
                        result += "</tr>";
622 620
                    });
623 621
                    document.getElementById("search-table").innerHTML = result;

Také k dispozici: Unified diff