Commit f876b7ce by Bagus Pambudi

role user dan agenda title

parent a109dba3
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
<div class="col-lg-12"> <div class="col-lg-12">
<h2>جدول أعمال - {!! $data->title !!}</h2> @if($data->rSa)
<h2>جدول أعمال - {!! $data->rSa->title !!}</h2>
@endif
</div> </div>
</div> </div>
</section><!-- end post-wrapper-top --> </section><!-- end post-wrapper-top -->
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
<div class="col-lg-12"> <div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2> @if($data->rDe)
<h2>Agenda - {!! $data->rDe->title !!}</h2>
@endif
</div> </div>
</div> </div>
</section><!-- end post-wrapper-top --> </section><!-- end post-wrapper-top -->
......
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
<div class="col-lg-12"> <div class="col-lg-12">
<h2>Agenda - {!! $data->title !!}</h2> @if($data->rEn)
</div> <h2>Agenda - {!! $data->rEn->title !!}</h2>
@endif
</div>
</div> </div>
</section><!-- end post-wrapper-top --> </section><!-- end post-wrapper-top -->
......
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
<div class="col-lg-12"> <div class="col-lg-12">
<h2>议程 - {!! $data->title !!}</h2> @if($data->rZh)
</div> <h2>议程 - {!! $data->rZh->title !!}</h2>
@endif
</div>
</div> </div>
</section><!-- end post-wrapper-top --> </section><!-- end post-wrapper-top -->
......
...@@ -12,7 +12,7 @@ Route::group(['middleware' => 'auth'], function () { ...@@ -12,7 +12,7 @@ Route::group(['middleware' => 'auth'], function () {
Route::post('update', 'Webprofile\Backend\UpdateController@update')->name('update.now'); Route::post('update', 'Webprofile\Backend\UpdateController@update')->name('update.now');
}); });
Route::group(['middleware' => 'role:admin|editor'], function () { Route::group(['middleware' => 'role:admin|laman'], function () {
Route::group(['namespace' => 'Webprofile\Backend', 'prefix' => 'webprofile'], function () { Route::group(['namespace' => 'Webprofile\Backend', 'prefix' => 'webprofile'], function () {
Route::resource('category', 'CategoryController'); Route::resource('category', 'CategoryController');
Route::resource('posts', 'PostController'); Route::resource('posts', 'PostController');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment