FEATURE: remove adding new template

This commit is contained in:
Michal Kváček
2016-03-08 11:00:00 +01:00
parent b8f8c75146
commit f97ac0e868
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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>