mirror of
https://github.com/Oreolek/kangana.git
synced 2024-05-05 02:28:17 +03:00
Link update
This commit is contained in:
parent
487f869c94
commit
1a949461f9
|
@ -30,7 +30,7 @@ class View_Group_Index extends View_Index {
|
|||
}
|
||||
|
||||
$output = array(
|
||||
'name' => $item->name,
|
||||
'view_link' => HTML::anchor(Route::url('default', array('controller' => Request::current()->controller(), 'action' => 'view','id' => $item->id)), $item->name, array('class' => 'link_view')),
|
||||
'edit_link' => HTML::anchor(Route::url('default', array('controller' => Request::current()->controller(), 'action' => 'edit','id' => $item->id)), I18n::translate('Edit'), array('class' => 'link_edit')),
|
||||
'delete_link' => HTML::anchor(Route::url('default', array('controller' => Request::current()->controller(), 'action' => 'delete','id' => $item->id)), I18n::translate('Delete'), array('class' => 'link_delete')),
|
||||
'client_count' => $item->count_clients(),
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<tbody>
|
||||
{{#get_items}}
|
||||
<tr>
|
||||
<td>{{name}}</td>
|
||||
<td>{{{view_link}}}</td>
|
||||
<td>{{client_count}}</td>
|
||||
{{#edit_link}}
|
||||
<td>{{{edit_link}}}</td>
|
||||
|
|
Loading…
Reference in a new issue