mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Add quotes around the word mail (#11267)
* Add quotes around the word mail The word 'mail' needs quotes around it so php will use it as a string instead of a variable name. * Double quotes to Single as is in the rest
This commit is contained in:
parent
ce7a454434
commit
36dbe0484e
@ -287,7 +287,7 @@ Conditional formatting example, will display a link to the host in
|
||||
email or just the hostname in any other transport:
|
||||
|
||||
```text
|
||||
@if ($alert->transport == mail)<a href="https://my.librenms.install/device/device={{ $alert->hostname }}/">{{ $alert->hostname }}</a>
|
||||
@if ($alert->transport == 'mail')<a href="https://my.librenms.install/device/device={{ $alert->hostname }}/">{{ $alert->hostname }}</a>
|
||||
@else
|
||||
{{ $alert->hostname }}
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user