notif = (title, html) -> html = html.replace /#{title}#{html}
""" textNotif = (title, message) -> notif title, """

#{message}""" app.templates.notifUpdateReady = -> textNotif """ DevDocs has been updated. """, """ Reload the page to use the new version. """ app.templates.notifError = -> textNotif """ Oops, an error occured. """, """ Try reloading, and if the problem persists, resetting the app.
You can also report this issue on GitHub. """ app.templates.notifInvalidLocation = -> textNotif """ DevDocs must be loaded from #{app.config.production_host} """, """ Otherwise things are likely to break. """ app.templates.notifNews = (news) -> notif 'Changelog', app.templates.newsList(news) app.templates.notifShare = -> textNotif """ Hi there! """, """ Like DevDocs? Help us reach more developers by sharing the link with your friends, on Twitter, Facebook, Reddit, etc.
Thanks :) """ app.templates.notifThanks = -> textNotif """ Hi there! """, """

Quick shout-out to our awesome sponsors:

Have a great day :) """