1
0
Fork 0
mirror of https://github.com/Oreolek/kangana.git synced 2024-05-05 02:28:17 +03:00

Link update

This commit is contained in:
Alexander Yakovlev 2016-11-13 20:32:17 +07:00
parent 487f869c94
commit 1a949461f9
2 changed files with 2 additions and 2 deletions

View file

@ -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(),

View file

@ -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>