1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Notifications: Started core user notification logic

Put together an initial notification.
Started logic to query and identify watchers.
This commit is contained in:
Dan Brown
2023-08-04 12:27:29 +01:00
parent 9d149e4d36
commit 9779c1a357
13 changed files with 258 additions and 42 deletions

View File

@ -5,7 +5,7 @@
<input type="hidden" name="id" value="{{ $entity->id }}">
<ul refs="dropdown@menu" class="dropdown-menu xl-limited anchor-left pb-none">
@foreach(\BookStack\Activity\Tools\UserWatchOptions::getAvailableLevelNames() as $option)
@foreach(\BookStack\Activity\WatchLevels::all() as $option)
<li>
<button name="level" value="{{ $option }}" class="icon-item">
@if($watchLevel === $option)