Remove #docsummary class from css file as it is not used anymore. Add #createdby class in css file. Fix typo in docs/profile.html template. Put document content in <div class='content'>.
Patch by: Pawel Solyga
Review by: to-be-reviewed
--- a/app/soc/content/css/soc.css Thu Oct 16 04:37:13 2008 +0000
+++ b/app/soc/content/css/soc.css Thu Oct 16 09:05:02 2008 +0000
@@ -277,14 +277,9 @@
font-size: small;
}
-#docsummary {
- border: 10px solid #e5ecf9;
- border-top: 1px solid #3366cc;
-}
-
-#docsummary h2 {
- margin-top: 0.1em;
- background-color: #e5ecf9;
+#createdby {
+ text-align: right;
+ font-size: small;
}
/* SIDEBAR MENU */
--- a/app/soc/templates/soc/docs/public.html Thu Oct 16 04:37:13 2008 +0000
+++ b/app/soc/templates/soc/docs/public.html Thu Oct 16 09:05:02 2008 +0000
@@ -23,7 +23,7 @@
{% block body %}
<div id="createdon">Created on: {{ document.created }}</div>
-<div id="createdby">Created on: {{ document.author.nick_name }}</div>
-{{ document.content|safe }}
+<div id="createdby">Created by: {{ document.author.nick_name }}</div>
+<div id="content">{{ document.content|safe }}</div>
<div id="lastmodified">Last updated on: {{ document.modified }}</div>
{% endblock %}