File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
library/Notifications/Web/Form Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,14 @@ protected function assemble()
120120 })
121121 ]
122122 ]
123- );
123+ )->addHtml (new HtmlElement (
124+ 'p ' ,
125+ new Attributes (['class ' => 'description ' ]),
126+ new Text ($ this ->translate (
127+ 'Add an Icinga Web user to associate with this contact. '
128+ . " Users from external authentication backends won't be suggested and must be entered manually. "
129+ ))
130+ ));
124131
125132 $ channelQuery = Channel::on ($ this ->db )
126133 ->columns (['id ' , 'name ' , 'type ' ]);
@@ -154,6 +161,14 @@ protected function assemble()
154161
155162 $ this ->decorate ($ defaultChannel );
156163 $ this ->addHtml ($ defaultChannel );
164+ $ this ->addHtml (new HtmlElement (
165+ 'p ' ,
166+ new Attributes (['class ' => 'description ' ]),
167+ new Text ($ this ->translate (
168+ "Contact will be notified via the default channel, when no specific channel is configured "
169+ . " in a schedule or event rule. "
170+ ))
171+ ));
157172
158173 $ this ->addElement (
159174 'submit ' ,
You can’t perform that action at this time.
0 commit comments