|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
notif = (title, html) ->
|
|
|
|
|
html = html.replace /<a /g, '<a class="_notif-link" '
|
|
|
|
|
""" <h5 class="_notif-title">#{title}</h5>
|
|
|
|
|
""" <h5 class="_notif-title">#{_ title}</h5>
|
|
|
|
|
#{html}
|
|
|
|
|
<button type="button" class="_notif-close" title="Close"><svg><use xlink:href="#icon-close"/></svg>Close</a>
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
textNotif = (title, message) ->
|
|
|
|
|
notif title, """<p class="_notif-text">#{message}"""
|
|
|
|
|
notif title, """<p class="_notif-text">#{_ message}"""
|
|
|
|
|
|
|
|
|
|
app.templates.notifUpdateReady = ->
|
|
|
|
|
textNotif """<span data-behavior="reboot">DevDocs has been updated.</span>""",
|
|
|
|
|