Mark td tags with link class for output consistency
Sat Jul 23 23:11:32 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Mark td tags with link class for output consistency
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2015-10-10 15:38:07.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2015-10-10 15:38:08.000000000 +0000
@@ -913,10 +913,9 @@
if show_diff:
print """
-<td>
- <a class="link" href="%(myreponame)s;a=filediff;h=%(hash)s;f=%(file)s">
- diff</a> |
- <a class="link" href="%(myreponame)s;a=filehistory;f=%(file)s">history</a>
+<td class="link">
+ <a href="%(myreponame)s;a=filediff;h=%(hash)s;f=%(file)s">diff</a> |
+ <a href="%(myreponame)s;a=filehistory;f=%(file)s">history</a>
</td>
""" % {
'myreponame': config.myreponame,
@@ -983,9 +982,9 @@
if f in dlist:
print """
<td><a class="list" href="%(myrname)s;a=tree;f=%(newf)s">%(f)s</a></td>
- <td>
- <a class="link" href="%(myrname)s;a=filehistory;f=%(newf)s">history</a> |
- <a class="link" href="%(myrname)s;a=tree;f=%(newf)s">tree</a>
+ <td class="link">
+ <a href="%(myrname)s;a=filehistory;f=%(newf)s">history</a> |
+ <a href="%(myrname)s;a=tree;f=%(newf)s">tree</a>
</td>
""" % {
'myrname': config.myreponame,
@@ -995,9 +994,9 @@
else:
print """
<td><a class="list" href="%(myrname)s;a=headblob;f=%(fullf)s">%(f)s</a></td>
- <td>
- <a class="link" href="%(myrname)s;a=filehistory;f=%(fullf)s">history</a> |
- <a class="link" href="%(myrname)s;a=headblob;f=%(fullf)s">headblob</a>
+ <td class="link">
+ <a href="%(myrname)s;a=filehistory;f=%(fullf)s">history</a> |
+ <a href="%(myrname)s;a=headblob;f=%(fullf)s">headblob</a>
</td>
""" % {
'myrname': config.myreponame,