mirror of https://github.com/freeCodeCamp/devdocs
parent
28b4149c6b
commit
4149604960
@ -1,9 +1,9 @@
|
|||||||
notice = (text) -> """<p class="_notice-text">#{text}</p>"""
|
notice = (text) -> """<p class="_notice-text">#{text}</p>"""
|
||||||
|
|
||||||
app.templates.singleDocNotice = (doc) ->
|
app.templates.singleDocNotice = (doc) ->
|
||||||
notice """ You're currently browsing the #{doc.fullName} documentation. To browse all docs, go to
|
notice """ You're browsing the #{doc.fullName} documentation. To browse all docs, go to
|
||||||
<a href="http://#{app.config.production_host}" target="_top">#{app.config.production_host}</a> (or press <code>esc</code>). """
|
<a href="http://#{app.config.production_host}" target="_top">#{app.config.production_host}</a> (or press <code>esc</code>). """
|
||||||
|
|
||||||
app.templates.disabledDocNotice = ->
|
app.templates.disabledDocNotice = ->
|
||||||
notice """ <strong>This documentation is currently disabled.</strong>
|
notice """ <strong>This documentation is disabled.</strong>
|
||||||
To enable it, click <a href="#" class="_notice-link" data-pick-docs>Select documentation</a>. """
|
To enable it, click <a href="#" class="_notice-link" data-pick-docs>Select documentation</a>. """
|
||||||
|
Loading…
Reference in new issue