This commit is contained in:
denisdulici 2017-09-21 17:04:28 +03:00
parent 705cbb927a
commit 3b3e3bbb66
2 changed files with 40 additions and 40 deletions

View File

@ -2,41 +2,42 @@
return [
'api_token' => 'Token',
'enter_api_token' => 'Enter your API token',
'top_paid' => 'Top Paid',
'new' => 'New',
'top_free' => 'Top Free',
'free' => 'FREE',
'install' => 'Install',
'buy_now' => 'Buy Now',
'faq' => 'FAQ',
'changelog' => 'Changelog',
'installed' => 'Changelog',
'uninstalled' => 'Changelog',
'title' => 'API Token',
'api_token' => 'Token',
'top_paid' => 'Top Paid',
'new' => 'New',
'top_free' => 'Top Free',
'free' => 'FREE',
'install' => 'Install',
'buy_now' => 'Buy Now',
'faq' => 'FAQ',
'changelog' => 'Changelog',
'installed' => 'Installed',
'uninstalled' => 'Uninstalled',
'token_link' => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.',
'enabled' => ':module module enabled',
'disabled' => ':module module disabled',
'enabled' => ':module module enabled',
'disabled' => ':module module disabled',
'installation' => [
'header' => 'Module Installation',
'start' => ':module installing.',
'download' => 'Downloading :module file.',
'unzip' => 'Extracting :module files.',
'install' => 'Uploading :module files.',
'header' => 'Module Installation',
'start' => ':module installing.',
'download' => 'Downloading :module file.',
'unzip' => 'Extracting :module files.',
'install' => 'Uploading :module files.',
],
'history' => [
'installed' => ':module installed',
'uninstalled' => ':module uninstall',
'updated' => ':module updated',
'enabled' => ':module enabled',
'disabled' => ':module disabled',
'installed' => ':module installed',
'uninstalled' => ':module uninstall',
'updated' => ':module updated',
'enabled' => ':module enabled',
'disabled' => ':module disabled',
],
'button' => [
'uninstall' => 'Uninstall',
'disable' => 'Disable',
'enable' => 'Enable',
'uninstall' => 'Uninstall',
'disable' => 'Disable',
'enable' => 'Enable',
],
];

View File

@ -1,25 +1,24 @@
@extends('layouts.modules')
@section('title', trans_choice('general.modules', 2))
@section('title', trans('modules.title'))
@section('content')
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('modules.enter_api_token') }}</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
{!! Form::open(['url' => 'modules/token', 'files' => true, 'role' => 'form']) !!}
<div class="box-body">
<div class="form-group required {{ $errors->has('api_token') ? 'has-error' : ''}}">
{!! 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')])]) !!}
<div class="col-md-12">
<div class="form-group required {{ $errors->has('api_token') ? 'has-error' : ''}}">
{!! 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')])]) !!}
</div>
{!! $errors->first('api_token', '<p class="help-block">:message</p>') !!}
</div>
{!! $errors->first('api_token', '<p class="help-block">:message</p>') !!}
<p>
{!! trans('modules.token_link') !!}
</p>
</div>
</div>
<!-- /.box-body -->