Merge pull request #306 from denisdulici/change-token
Change API token of App Store
This commit is contained in:
		@@ -2,6 +2,10 @@
 | 
			
		||||
 | 
			
		||||
@section('title', trans_choice('general.modules', 2))
 | 
			
		||||
 | 
			
		||||
@section('new_button')
 | 
			
		||||
    <span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span>  {{ trans('modules.api_token') }}</a></span>
 | 
			
		||||
@endsection
 | 
			
		||||
 | 
			
		||||
@section('content')
 | 
			
		||||
    @include('partials.modules.bar')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,10 @@
 | 
			
		||||
 | 
			
		||||
@section('title', trans_choice('general.modules', 2))
 | 
			
		||||
 | 
			
		||||
@section('new_button')
 | 
			
		||||
    <span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span>  {{ trans('modules.api_token') }}</a></span>
 | 
			
		||||
@endsection
 | 
			
		||||
 | 
			
		||||
@section('content')
 | 
			
		||||
    @include('partials.modules.bar')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,10 @@
 | 
			
		||||
 | 
			
		||||
@section('title', trans_choice('general.modules', 2))
 | 
			
		||||
 | 
			
		||||
@section('new_button')
 | 
			
		||||
    <span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span>  {{ trans('modules.api_token') }}</a></span>
 | 
			
		||||
@endsection
 | 
			
		||||
 | 
			
		||||
@section('content')
 | 
			
		||||
    @include('partials.modules.bar')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
                    {!! Form::label('sale_price', trans('modules.api_token'), ['class' => 'control-label']) !!}
 | 
			
		||||
                    <div class="input-group">
 | 
			
		||||
                        <span class="input-group-addon"><i class="fa fa-key"></i></span>
 | 
			
		||||
                        {!! Form::text('api_token', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => trans('general.form.enter', ['field' => trans('modules.api_token')])]) !!}
 | 
			
		||||
                        {!! Form::text('api_token', setting('general.api_token', null), ['class' => 'form-control', 'required' => 'required', 'placeholder' => trans('general.form.enter', ['field' => trans('modules.api_token')])]) !!}
 | 
			
		||||
                    </div>
 | 
			
		||||
                    {!! $errors->first('api_token', '<p class="help-block">:message</p>') !!}
 | 
			
		||||
                </div>
 | 
			
		||||
@@ -24,7 +24,7 @@
 | 
			
		||||
        <!-- /.box-body -->
 | 
			
		||||
 | 
			
		||||
        <div class="box-footer">
 | 
			
		||||
            {{ Form::saveButtons('apps/token') }}
 | 
			
		||||
            {{ Form::saveButtons('apps/home') }}
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        {!! Form::close() !!}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user