@@ 62-68 (lines=7) @@ | ||
59 | return $html; |
|
60 | } |
|
61 | ||
62 | if ($count = $model->objects_count['ok']) { |
|
63 | $html .= Html::a( |
|
64 | (int) $count . ' ' . FontIcon::i('fa-check') . ' ' . $type($count), |
|
65 | $url['ok'], |
|
66 | ['class' => 'btn btn-success btn-xs'] |
|
67 | ); |
|
68 | } |
|
69 | $html .= ' '; |
|
70 | if (($count = $model->objects_count['deleted']) > 0) { |
|
71 | $html .= Html::a( |
|
@@ 70-76 (lines=7) @@ | ||
67 | ); |
|
68 | } |
|
69 | $html .= ' '; |
|
70 | if (($count = $model->objects_count['deleted']) > 0) { |
|
71 | $html .= Html::a( |
|
72 | (int) $count . ' ' . FontIcon::i('fa-trash') . ' ' . $type($count), |
|
73 | $url['deleted'], |
|
74 | ['class' => 'btn btn-xs btn-warning'] |
|
75 | ); |
|
76 | } |
|
77 | ||
78 | return $html; |
|
79 | }, |