11 lines
324 B
Plaintext
11 lines
324 B
Plaintext
|
package sources
|
||
|
|
||
|
import "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
|
||
|
|
||
|
templ AddAfter(message string, isError bool) {
|
||
|
if isError {
|
||
|
@bulma.Notification(message, bulma.ColorError)
|
||
|
} else {
|
||
|
@bulma.Notification("The requested source was added to the server", bulma.ColorSuccess)
|
||
|
}
|
||
|
}
|