##// END OF EJS Templates
gitweb: cosmetic fixes....
Brendan Cully -
r3179:76ab39df default
parent child Browse files
Show More
@@ -292,9 +292,12 b' class hgweb(object):'
292
292
293 files = []
293 files = []
294 mf = self.repo.manifest.read(changes[0])
294 mf = self.repo.manifest.read(changes[0])
295 parity = 0
295 for f in changes[3]:
296 for f in changes[3]:
296 files.append(self.t("filenodelink",
297 files.append(self.t("filenodelink",
297 filenode=hex(mf.get(f, nullid)), file=f))
298 filenode=hex(mf.get(f, nullid)), file=f,
299 parity=parity))
300 parity = 1 - parity
298
301
299 def diff(**map):
302 def diff(**map):
300 yield self.diff(p1, n, None)
303 yield self.diff(p1, n, None)
@@ -27,10 +27,10 b''
27 #changesettag#
27 #changesettag#
28 </table></div>
28 </table></div>
29
29
30 <div class="title_text">
30 <div class="page_body">
31 #desc|strip|escape|addbreaks#
31 #desc|strip|escape|addbreaks#
32 </div>
32 </div>
33
33 <div class="list_head"></div>
34 <div class="title_text">
34 <div class="title_text">
35 <table cellspacing="0">
35 <table cellspacing="0">
36 #files#
36 #files#
@@ -8,7 +8,7 b' error = error-gitweb.tmpl'
8 naventry = '<a href="?cmd=changelog;rev=#rev#;style=gitweb">#label|escape#</a> '
8 naventry = '<a href="?cmd=changelog;rev=#rev#;style=gitweb">#label|escape#</a> '
9 navshortentry = '<a href="?cmd=shortlog;rev=#rev#;style=gitweb">#label|escape#</a> '
9 navshortentry = '<a href="?cmd=shortlog;rev=#rev#;style=gitweb">#label|escape#</a> '
10 filedifflink = '<a href="?cmd=filediff;node=#node#;file=#file|urlescape#;style=gitweb">#file|escape#</a> '
10 filedifflink = '<a href="?cmd=filediff;node=#node#;file=#file|urlescape#;style=gitweb">#file|escape#</a> '
11 filenodelink = '<tr class="light"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="?cmd=file;filenode=#filenode#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a> | <!-- FIXME: <a href="?fd=#filenode|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?cmd=filelog;filenode=#filenode|short#;file=#file|urlescape#;style=gitweb">revisions</a></td></tr>'
11 filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="?cmd=file;filenode=#filenode#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a> | <!-- FIXME: <a href="?fd=#filenode|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?cmd=filelog;filenode=#filenode|short#;file=#file|urlescape#;style=gitweb">revisions</a></td></tr>'
12 fileellipses = '...'
12 fileellipses = '...'
13 changelogentry = changelogentry-gitweb.tmpl
13 changelogentry = changelogentry-gitweb.tmpl
14 searchentry = changelogentry-gitweb.tmpl
14 searchentry = changelogentry-gitweb.tmpl
General Comments 0
You need to be logged in to leave comments. Login now