mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Tidy the subscriptions page a little
This commit is contained in:
parent
b2067f4bd9
commit
22d208f040
@ -10,8 +10,8 @@
|
|||||||
@endif />
|
@endif />
|
||||||
{{ $component->name }}
|
{{ $component->name }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
|
||||||
@if($component->description)
|
@if($component->description)
|
||||||
<i class="ion ion-ios-help-outline help-icon" data-toggle="tooltip" data-title="{{ $component->description }}" data-container="body"></i>
|
<i class="ion ion-ios-help-outline help-icon" data-toggle="tooltip" data-title="{{ $component->description }}" data-container="body"></i>
|
||||||
@endif
|
@endif
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -14,14 +14,11 @@
|
|||||||
<div class="col-xs-12 col-lg-offset-2 col-lg-8">
|
<div class="col-xs-12 col-lg-offset-2 col-lg-8">
|
||||||
<div class="text-center margin-bottom">
|
<div class="text-center margin-bottom">
|
||||||
<h1>{{ $app_name }} Notifications</h1>
|
<h1>{{ $app_name }} Notifications</h1>
|
||||||
<p>
|
<p>Manage notifications for <strong>{{ $subscriber->email }}</strong></p>
|
||||||
Manage notifications for {{ $subscriber->email }}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<form action="{{ cachet_route('subscribe.manage', [$subscriber->verify_code], 'post') }}" method="post">
|
<form action="{{ cachet_route('subscribe.manage', [$subscriber->verify_code], 'post') }}" method="post">
|
||||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||||
@if(!$component_groups->isEmpty() || !$ungrouped_components->isEmpty())
|
@if($component_groups->isNotEmpty() || $ungrouped_components->isNotEmpty())
|
||||||
@if($component_groups->count() > 0)
|
|
||||||
@foreach($component_groups as $componentGroup)
|
@foreach($component_groups as $componentGroup)
|
||||||
<div class="list-group components">
|
<div class="list-group components">
|
||||||
@if($componentGroup->enabled_components->count() > 0)
|
@if($componentGroup->enabled_components->count() > 0)
|
||||||
@ -34,17 +31,14 @@
|
|||||||
<a href="javascript: void(0);" class="deselect-group" id="deselect-all-{{$componentGroup->id}}">Deselect All</a>
|
<a href="javascript: void(0);" class="deselect-group" id="deselect-all-{{$componentGroup->id}}">Deselect All</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group group-items {{ $componentGroup->has_subscriber($subscriptions) ? null : "hide" }}">
|
|
||||||
@foreach($componentGroup->enabled_components()->orderBy('order')->get() as $component)
|
@foreach($componentGroup->enabled_components()->orderBy('order')->get() as $component)
|
||||||
@include('partials.component_input', compact($component))
|
@include('partials.component_input', compact($component))
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
|
||||||
|
|
||||||
@if($ungrouped_components->count() > 0)
|
@if($ungrouped_components->isNotEmpty())
|
||||||
<ul class="list-group components">
|
<ul class="list-group components">
|
||||||
<div class="list-group-item group-name">
|
<div class="list-group-item group-name">
|
||||||
<strong>{{ trans('cachet.components.group.other') }}</strong>
|
<strong>{{ trans('cachet.components.group.other') }}</strong>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user