all media edit and show page
This commit is contained in:
		@@ -21,14 +21,16 @@
 | 
			
		||||
              {{ $file->readableSize() }}
 | 
			
		||||
 | 
			
		||||
                {!! Form::open([
 | 
			
		||||
                'id' => 'attachment-' . $file->id,
 | 
			
		||||
                'id' => $column_name. '-' . $file->id,
 | 
			
		||||
                'method' => 'DELETE',
 | 
			
		||||
                'url' => [url('uploads/' . $file->id)],
 | 
			
		||||
                'style' => 'display:inline'
 | 
			
		||||
            ]) !!}
 | 
			
		||||
                <a id="remove-attachment" href="javascript:void();" class="btn btn-danger btn-xs pull-right">
 | 
			
		||||
                @permission('delete-common-uploads')
 | 
			
		||||
                <a href="javascript:void();" id="remove-{{ $column_name }}" class="btn btn-danger btn-xs pull-right mailbox-attachment-remove">
 | 
			
		||||
                    <i class="fa fa fa-times"></i>
 | 
			
		||||
                </a>
 | 
			
		||||
                @endpermission
 | 
			
		||||
                {!! Form::close() !!}
 | 
			
		||||
 | 
			
		||||
                <a href="{{ url('uploads/' . $file->id . '/download') }}" class="btn btn-info btn-xs pull-right mailbox-attachment-download">
 | 
			
		||||
 
 | 
			
		||||
@@ -27,9 +27,11 @@
 | 
			
		||||
                'url' => [url('uploads/' . $file->id)],
 | 
			
		||||
                'style' => 'display:inline'
 | 
			
		||||
            ]) !!}
 | 
			
		||||
                <a id="remove-attachment" href="javascript:void();" class="btn btn-danger btn-xs pull-right">
 | 
			
		||||
                @permission('delete-common-uploads')
 | 
			
		||||
                <a href="javascript:void();" id="remove-attachment" class="btn btn-danger btn-xs pull-right mailbox-attachment-remove">
 | 
			
		||||
                    <i class="fa fa fa-times"></i>
 | 
			
		||||
                </a>
 | 
			
		||||
                @endpermission
 | 
			
		||||
                {!! Form::close() !!}
 | 
			
		||||
 | 
			
		||||
                <a href="{{ url('uploads/' . $file->id . '/download') }}" class="btn btn-info btn-xs pull-right mailbox-attachment-download">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user