Move HumanStatus to Presenter

This commit is contained in:
phecho
2015-12-23 19:44:06 +08:00
parent d5a71976d2
commit 8a47dd873f
6 changed files with 15 additions and 15 deletions

View File

@@ -25,7 +25,7 @@
@if($components->count() > 1)
<span class="drag-handle"><i class="ion-drag"></i></span>
@endif
{{ $component->name }} <small>{{ $component->humanStatus }}</small>
{{ $component->name }} <small>{{ $component->human_status }}</small>
</h4>
@if($component->group)
<p><small>{{ trans('dashboard.components.listed_group', ['name' => $component->group->name]) }}</small></p>