Disable history importer on the demo

This commit is contained in:
snipe 2018-04-25 19:18:05 -07:00
parent c4c520c1a3
commit 5fb4eacf5b

View file

@ -73,7 +73,11 @@
<div class="form-group"> <div class="form-group">
<label for="first_name" class="col-sm-3 control-label">{{ trans('admin/users/general.usercsv') }}</label> <label for="first_name" class="col-sm-3 control-label">{{ trans('admin/users/general.usercsv') }}</label>
<div class="col-sm-9"> <div class="col-sm-9">
<input type="file" name="user_import_csv" id="user_import_csv"> @if (config('app.lock_passwords')===true)
<input type="file" name="user_import_csv" id="user_import_csv" disabled>
@else
<input type="file" name="user_import_csv" id="user_import_csv">
@endif
</div> </div>
</div> </div>
@ -125,7 +129,16 @@
<!-- Form Actions --> <!-- Form Actions -->
<div class="box-footer text-right"> <div class="box-footer text-right">
<button type="submit" class="btn btn-default">{{ trans('button.submit') }}</button> @if (config('app.lock_passwords')===true)
<div class="col-md-12">
<div class="callout callout-info">
{{ trans('general.feature_disabled') }}
</div>
</div>
@else
<button type="submit" class="btn btn-default">{{ trans('button.submit') }}</button>
@endif
</div> </div>
</form> </form>