diff --git a/resources/views/users/show.blade.php b/resources/views/users/show.blade.php
index 923119fa..27b7e6c0 100644
--- a/resources/views/users/show.blade.php
+++ b/resources/views/users/show.blade.php
@@ -82,8 +82,7 @@
>
- {{ trans("cruds.control.fields.domain") }} |
- {{ trans("cruds.control.fields.measure") }} |
+ {{ trans("cruds.control.fields.clauses") }} |
{{ trans("cruds.control.fields.name") }} |
{{ trans("cruds.control.fields.planned") }} |
@@ -92,17 +91,15 @@
@foreach($user->lastControls as $control)
-
- {{ $control->domain->title }}
-
- |
-
-
- {{ $control->clause }}
-
- |
+ @foreach($control->measures as $measure)
+ {{ $measure->clause }}
+ @if(!$loop->last)
+ ,
+ @endif
+ @endforeach
+
- {{ $control->name }}
+ {{ $control->name }}
|
diff --git a/routes/web.php b/routes/web.php
index ff9274a6..59a04648 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -52,6 +52,7 @@
Route::get('/bob/make/{id}', 'ControlController@make');
Route::get('/bob/edit/{id}', 'ControlController@edit');
Route::get('/bob/template/{id}', 'ControlController@template');
+ Route::get('/bob/clone/{id}', 'ControlController@clone');
Route::get('/bob/delete/{id}', 'ControlController@destroy');
Route::post('/bob/make', 'ControlController@doMake');
Route::post('/bob/accept', 'ControlController@accept');
|