1 <div component="dropdown"
2 class="dropdown-container block my-xxs">
3 <a refs="dropdown@toggle"
8 class="entity-meta-item my-none">
9 @icon(($ignoring ? 'watch-ignore' : 'watch'))
10 <span>{{ $label }}</span>
12 <form action="{{ url('/watching/update') }}" method="POST">
13 {{ method_field('PUT') }}
15 <input type="hidden" name="type" value="{{ $entity->getMorphClass() }}">
16 <input type="hidden" name="id" value="{{ $entity->id }}">
18 <ul refs="dropdown@menu" class="dropdown-menu xl-limited anchor-left pb-none" role="menu">
19 @foreach(\BookStack\Activity\WatchLevels::allSuitedFor($entity) as $option => $value)
21 <button name="level" value="{{ $option }}" class="icon-item" role="menuitem">
22 @if($watchLevel === $option)
23 <span class="text-pos pt-m"
24 title="{{ trans('common.status_active') }}">@icon('check-circle')</span>
26 <span title="{{ trans('common.status_inactive') }}"></span>
28 <div class="break-text">
29 <div class="mb-xxs"><strong>{{ trans('entities.watch_title_' . $option) }}</strong></div>
30 <div class="text-muted text-small">
31 @if(trans()->has('entities.watch_desc_' . $option . '_' . $entity->getMorphClass()))
32 {{ trans('entities.watch_desc_' . $option . '_' . $entity->getMorphClass()) }}
34 {{ trans('entities.watch_desc_' . $option) }}
40 <li role="presentation">
45 <a href="{{ url('/my-account/notifications') }}"
48 class="text-item text-muted text-small break-text">{{ trans('entities.watch_change_default') }}</a>