Skip to content

Commit 087ba86

Browse files
committed
Merge branch 'master' of https://github.com/maulapi/openstamanager into maulapi-master
2 parents 985d5a1 + f50f298 commit 087ba86

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

modules/marche/row-list.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
foreach ($modelli as $modello) {
2727
echo '
2828
<tr>
29-
<td class="text-center">
30-
'.(!empty($modello->immagine) ? '<img src="'.base_path().'/files/marche/'.$modello->immagine.'" class="img-thumbnail" style="max-height: 30px;">' : '<i class="fa fa-image text-muted"></i>').'
31-
</td>
3229
<td>'.$modello->name.'</td>
3330
<td>'.(!empty($modello->link) ? '<a href="'.$modello->link.'" target="_blank">'.$modello->link.'</a>' : '').'</td>
3431
<td class="text-center">
@@ -43,8 +40,8 @@
4340
</td>
4441
<td class="text-center">
4542
<div class="btn-group">
46-
<a class="btn btn-xs btn-warning" data-href="'.base_path().'/editor.php?id_module='.$id_module.'&id_record='.$modello->id.'" data-toggle="tooltip" title="'.tr('Modifica').'">
47-
<i class="fa fa-edit"></i>
43+
<a class="btn btn-xs btn-warning" title="'.tr('Modifica').'" onclick="launch_modal(\''.tr('Modifica modello').'\', \''.base_path().'/add.php?id_module='.$id_module.'&id_record='.$modello->id.'&id_original='.$id_record.'\');">
44+
<i class="fa fa-edit"></i>
4845
</a>
4946
<a class="btn btn-xs btn-danger ask" data-backto="record-edit" data-op="delete" data-id="'.$modello->id.'" data-toggle="tooltip" title="'.tr('Elimina').'">
5047
<i class="fa fa-trash"></i>

0 commit comments

Comments
 (0)