Skip to content

Commit 1290b44

Browse files
toil(front): Add note about the project access when modifying notification (#508)
## 📝 Description Small UI improvement, adding a note to the notification form renderedtext/project-tasks#2659 ## ✅ Checklist - [x] I have tested this change - [ ] This change requires documentation update
1 parent 4d00b77 commit 1290b44

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

front/assets/js/edit_notification.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ export var EditNotification = {
2929
class="form-control w-100"
3030
placeholder="e.g. my-project, /hotfix-*/, /.*/" >
3131
<p class="f6 mt1 mb0 nb1">Comma separated, regular expressions allowed</p>
32+
<p class="f6 mt2 pa2 bg-washed-yellow ba b--yellow br2">
33+
<strong>Note:</strong> Regardless of the regex patterns specified, notifications will only be sent for projects to which the creator of this notification has access.
34+
</p>
3235
</div>
3336
3437
<div class="pl4 mb3">

front/lib/front_web/templates/notifications/form.html.eex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
class: "form-control w-100",
5151
placeholder: "e.g. my-project, /hotfix-*/, /.*/" %>
5252
<p class="f6 mt1 mb0 nb1">Comma separated, regular expressions allowed</p>
53+
<p class="f6 mt2 pa2 bg-washed-yellow ba b--yellow br2">
54+
<strong>Note:</strong> Regardless of the regex patterns specified, notifications will only be sent for projects to which the creator of this notification has access.
55+
</p>
5356
</div>
5457
<div class="mb3 pl4">
5558
<label class="db b mb1">

0 commit comments

Comments
 (0)