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