Change Note beautifiers
Dirk Frederickx <[email protected]> Sat, 2 Sep 2006 06:59:41 +0200
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Janne,
Here are some suggestion to beautify the new change note feature.
RecentChangesPlugin.java
Make sure the date-field in the table rendered by recentchanges gets
a colspan=4.
(actually the colspan value should be determined based on the compact|
full format parameter)
Also, I suggests to add a css-classs to the page-name table cells in
order to give full control to css if needed.
So the "width=30%" and the <b> bold tags, can be ''moved'' into the
css file, where they belong.
jspwiki.css
/* formatting recent changes */
.recentchanges tr { vertical-align: top; }
.recentchanges .date { font-weight: bold; border-bottom: 2px
solid silver; height: 3em; vertical-align: bottom; }
.recentchanges .lastchange { font-size: 90%; width: 10%; }
.recentchanges .author { font-size: 90%; width: 10%: }
.recentchanges .changenote { font-size: 90%; width: 50%: }
plain.jsp
Enclose the input field inside a paragraph.
<wiki:CheckRequestContext context="edit">
<p>
<label for="changenote">Change note</label>
<input type="text" id="changenote" name="changenote"
size="80" value="<%=changenote%>"/>
</p>
</wiki:CheckRequestContext>
or put some margin stuff into jspwiki.css
#changenote { margin: 0.5em 0; }
= = = = = =
(Question)
PageInfo
I would like to add an extra column to the pageinfo table, revealing
the changenotes for each version.
Any suggestions how this can be achieved ?
dirk