Change public to show on echo/file areas to enable limiting whats shown in the activity graph
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<!-- $o = Domain::class -->
|
||||
@extends('layouts.app')
|
||||
@section('htmlheader_title')
|
||||
{{ $o->name }}
|
||||
|
@@ -64,14 +64,14 @@
|
||||
</div>
|
||||
|
||||
<div class="col-2">
|
||||
<label for="public" class="form-label">Public</label>
|
||||
<label for="show" class="form-label">Show <i class="bi bi-info-circle" title="Show this area in the activity reports"></i></label>
|
||||
<div class="input-group">
|
||||
<div class="btn-group" role="group">
|
||||
<input type="radio" class="btn-check" name="public" id="public_yes" value="1" required @cannot('admin',$o)disabled @endcannot @if(old('public',$o->public ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-success" for="public_yes">Yes</label>
|
||||
<input type="radio" class="btn-check" name="show" id="show_yes" value="1" required @cannot('admin',$o)disabled @endcannot @if(old('show',$o->show ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-success" for="show_yes">Yes</label>
|
||||
|
||||
<input type="radio" class="btn-check btn-danger" name="public" id="public_no" value="0" required @cannot('admin',$o)disabled @endcannot @if(! old('public',$o->public ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-danger" for="public_no">No</label>
|
||||
<input type="radio" class="btn-check btn-danger" name="show" id="show_no" value="0" required @cannot('admin',$o)disabled @endcannot @if(! old('show',$o->show ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-danger" for="show_no">No</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -65,14 +65,14 @@
|
||||
</div>
|
||||
|
||||
<div class="col-2">
|
||||
<label for="public" class="form-label">Public</label>
|
||||
<label for="show" class="form-label">Show <i class="bi bi-info-circle" title="Show this area in the activity reports"></i></label>
|
||||
<div class="input-group">
|
||||
<div class="btn-group" role="group">
|
||||
<input type="radio" class="btn-check" name="public" id="public_yes" value="1" required @cannot('admin',$o)disabled @endcannot @if(old('public',$o->public ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-success" for="public_yes">Yes</label>
|
||||
<input type="radio" class="btn-check" name="show" id="show_yes" value="1" required @cannot('admin',$o)disabled @endcannot @if(old('show',$o->show ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-success" for="show_yes">Yes</label>
|
||||
|
||||
<input type="radio" class="btn-check btn-danger" name="public" id="public_no" value="0" required @cannot('admin',$o)disabled @endcannot @if(! old('public',$o->public ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-danger" for="public_no">No</label>
|
||||
<input type="radio" class="btn-check btn-danger" name="show" id="show_no" value="0" required @cannot('admin',$o)disabled @endcannot @if(! old('show',$o->show ?? TRUE))checked @endif>
|
||||
<label class="btn btn-outline-danger" for="show_no">No</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user