11 lines
319 B
Plaintext
11 lines
319 B
Plaintext
package sources
|
|
|
|
import "git.jamestombleson.com/jtom38/newsbot-portal/templ-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)
|
|
}
|
|
} |