mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
Tweaks to documentation theme - do not include comment on 404 pages
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@119988 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c3e7658505
commit
19be50733d
@ -90,6 +90,7 @@ p { font-size: 12px; line-height: 18px; margin-bottom: 18px; }
|
||||
/* Comments */
|
||||
#comments {
|
||||
clear: both;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#comments .notice {
|
||||
|
17
themes/docs/templates/DocumentationViewer.ss
vendored
17
themes/docs/templates/DocumentationViewer.ss
vendored
@ -46,7 +46,7 @@
|
||||
$DocumentationSearchForm
|
||||
</div>
|
||||
|
||||
<!-- <% if Versions %>
|
||||
<% if Versions %>
|
||||
<div id="versions-nav">
|
||||
<h2>Versions:</h2>
|
||||
<ul>
|
||||
@ -59,23 +59,16 @@
|
||||
<% end_control %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end_if %>-->
|
||||
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
||||
<div id="content" class="typography">
|
||||
$Layout
|
||||
</div>
|
||||
|
||||
<div id="comments">
|
||||
<p class="notice">
|
||||
<strong>Comment policy:</strong> Please use comments for <strong>tips and corrections</strong> about the described
|
||||
functionality. <br />
|
||||
Comments are moderated, we reserve the right to remove comments that are inappropriate or are no longer relevant. Use the <strong><a href="http://silverstripe.com/silverstripe-forum">Silverstripe Forum</a></strong> to ask questions.
|
||||
</p>
|
||||
|
||||
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/silverstripe-doc/embed.js"></script><noscript><a href="http://silverstripe-doc.disqus.com/?url=ref">View the forum thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
</div>
|
||||
<% if Content %>
|
||||
<% include Comments %>
|
||||
<% end_if %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
11
themes/docs/templates/Includes/Comments.ss
vendored
Normal file
11
themes/docs/templates/Includes/Comments.ss
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
<div id="comments">
|
||||
<h2>Comments</h2>
|
||||
|
||||
<p class="notice">
|
||||
<strong>Comment policy:</strong> Please use comments for <strong>tips and corrections</strong> about the described
|
||||
functionality. <br />
|
||||
Comments are moderated, we reserve the right to remove comments that are inappropriate or are no longer relevant. Use the <strong><a href="http://silverstripe.com/silverstripe-forum">Silverstripe Forum</a></strong> to ask questions.
|
||||
</p>
|
||||
|
||||
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/silverstripe-doc/embed.js"></script><noscript><a href="http://silverstripe-doc.disqus.com/?url=ref">View the forum thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user