FEATURE: remove adding new template
This commit is contained in:
+2
-2
@@ -58,8 +58,8 @@ Route::group([
|
|||||||
Route::post('templates/copy', 'CopyTemplate@createCopy')
|
Route::post('templates/copy', 'CopyTemplate@createCopy')
|
||||||
->name('templates.postCopy');
|
->name('templates.postCopy');
|
||||||
|
|
||||||
Route::get('templates/new/{pathId}', 'TemplateOverview@getPath')
|
// Route::get('templates/new/{pathId}', 'TemplateOverview@getPath')
|
||||||
->name('templates.new');
|
// ->name('templates.new');
|
||||||
|
|
||||||
Route::get('templates/edit/{id}', 'EditTemplate@getEdit')
|
Route::get('templates/edit/{id}', 'EditTemplate@getEdit')
|
||||||
->name('templates.edit');
|
->name('templates.edit');
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
|
|
||||||
<h4>@lang($directory->name)</h4>
|
<h4>@lang($directory->name)</h4>
|
||||||
|
|
||||||
@if (true || isset($isWritable) && $isWritable)
|
{{--@if (true || isset($isWritable) && $isWritable)--}}
|
||||||
<div class="text-right">
|
{{--<div class="text-right">--}}
|
||||||
<a href="{{route('templates.new', ['pathId' => $directory->id])}}"><i class="fa fa-plus"></i> @lang('admin/templates.new')</a> <br />
|
{{--<a href="{{route('templates.new', ['pathId' => $directory->id])}}"><i class="fa fa-plus"></i> @lang('admin/templates.new')</a> <br />--}}
|
||||||
</div>
|
{{--</div>--}}
|
||||||
@endif
|
{{--@endif--}}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user