mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Disable history importer on the demo
This commit is contained in:
parent
c4c520c1a3
commit
5fb4eacf5b
|
@ -73,7 +73,11 @@
|
|||
<div class="form-group">
|
||||
<label for="first_name" class="col-sm-3 control-label">{{ trans('admin/users/general.usercsv') }}</label>
|
||||
<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>
|
||||
|
||||
|
@ -125,7 +129,16 @@
|
|||
|
||||
<!-- Form Actions -->
|
||||
<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>
|
||||
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue