diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-04 06:07:32 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-04 06:07:32 +0000 |
commit | e059c9eff94ab37598d740cc5777e591216368a1 (patch) | |
tree | fa79af3dcac9f6f4cbf7c20f4d7fbc0f275502b6 /templates | |
parent | d3f032c4d00a7cc4f9f52bbd1f98dd4e8bf9457b (diff) | |
download | ikiwiki-e059c9eff94ab37598d740cc5777e591216368a1.tar ikiwiki-e059c9eff94ab37598d740cc5777e591216368a1.tar.gz |
* Make RecentChanges use a table and some CSS, should be much more readable.
No code changes involved.
* Encode & in diffurl in examples, to conform to pedantic rules.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/recentchanges.tmpl | 53 |
1 files changed, 37 insertions, 16 deletions
diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl index e7d7e10dd..1ea2f8a45 100644 --- a/templates/recentchanges.tmpl +++ b/templates/recentchanges.tmpl @@ -18,28 +18,49 @@ </div> <div id="content"> -<ul> +<br /> +<table border="1" frame="border" rules="groups"> +<thead> + <tr class="changeheader"> + <th align="left">user</th> + <th align="left">time</th> + <th align="left">changes</th> + </tr> +</thead> <TMPL_LOOP NAME="CHANGELOG"> - <li> <!-- <TMPL_VAR NAME="REV"> --> +<tbody> + <!-- <TMPL_VAR NAME="REV"> --> + <!-- <TMPL_VAR NAME="COMMITTYPE"> --> + <tr class="changeheader"> + <td><TMPL_VAR NAME="USER"></td> + <td class="changetime"><TMPL_VAR NAME="WHEN"></td> + <td> <TMPL_LOOP NAME="PAGES"> - <TMPL_VAR NAME="LINK"> <TMPL_IF NAME="DIFFURL"> - (<a href="<TMPL_VAR NAME="DIFFURL">">diff</a>) + <a href="<TMPL_VAR NAME="DIFFURL">"> + <img alt="diff" src="wikiicons/diff.png" style="border-style: none" /> + </a> + <TMPL_VAR NAME="LINK"> + <TMPL_ELSE> + <TMPL_VAR NAME="LINK"> </TMPL_IF> </TMPL_LOOP> - <br /> - <!-- <TMPL_VAR NAME="COMMITTYPE"> --> - changed <TMPL_VAR NAME="WHEN"> by <TMPL_VAR NAME="USER">: - <i> - <TMPL_LOOP NAME="MESSAGE"> - <TMPL_IF NAME="LINE"> - <TMPL_VAR NAME="LINE"><br /> - </TMPL_IF> - </TMPL_LOOP> - </i> - </li> + </td> + </tr> + <tr> + <td colspan="3"> + <i> + <TMPL_LOOP NAME="MESSAGE"> + <TMPL_IF NAME="LINE"> + <TMPL_VAR NAME="LINE"><br /> + </TMPL_IF> + </TMPL_LOOP> + </i> + </td> + </tr> +</tbody> </TMPL_LOOP> -</ul> +</table> </div> <!-- from <TMPL_VAR NAME=WIKINAME> --> |