Show More
@@ -30,13 +30,7 files | | |||||
30 |
|
30 | |||
31 | <div class="title">{path|escape} {alltags}</div> |
|
31 | <div class="title">{path|escape} {alltags}</div> | |
32 | <table cellspacing="0"> |
|
32 | <table cellspacing="0"> | |
33 | <tr class="parity{upparity}"> |
|
33 | {ifeq(path, up, '', updirentry)} | |
34 | <td style="font-family:monospace">drwxr-xr-x</td> |
|
|||
35 | <td style="font-family:monospace"></td> |
|
|||
36 | <td style="font-family:monospace"></td> |
|
|||
37 | <td><a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> |
|
|||
38 | <td class="link"> </td> |
|
|||
39 | </tr> |
|
|||
40 | {dentries%direntry} |
|
34 | {dentries%direntry} | |
41 | {fentries%fileentry} |
|
35 | {fentries%fileentry} | |
42 | </table> |
|
36 | </table> |
@@ -59,6 +59,16 fileellipses = '...' | |||||
59 | changelogentry = changelogentry.tmpl |
|
59 | changelogentry = changelogentry.tmpl | |
60 | changeset = changeset.tmpl |
|
60 | changeset = changeset.tmpl | |
61 | manifest = manifest.tmpl |
|
61 | manifest = manifest.tmpl | |
|
62 | updirentry = ' | |||
|
63 | <tr class="parity{upparity}"> | |||
|
64 | <td style="font-family:monospace">drwxr-xr-x</td> | |||
|
65 | <td style="font-family:monospace"></td> | |||
|
66 | <td style="font-family:monospace"></td> | |||
|
67 | <td> | |||
|
68 | <a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a> | |||
|
69 | </td> | |||
|
70 | <td class="link"> </td> | |||
|
71 | </tr>' | |||
62 | direntry = ' |
|
72 | direntry = ' | |
63 | <tr class="parity{parity}"> |
|
73 | <tr class="parity{parity}"> | |
64 | <td style="font-family:monospace">drwxr-xr-x</td> |
|
74 | <td style="font-family:monospace">drwxr-xr-x</td> |
@@ -425,13 +425,7 manifest with descending (gitweb) | |||||
425 |
|
425 | |||
426 | <div class="title">/ <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></div> |
|
426 | <div class="title">/ <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></div> | |
427 | <table cellspacing="0"> |
|
427 | <table cellspacing="0"> | |
428 | <tr class="parity0"> |
|
428 | ||
429 | <td style="font-family:monospace">drwxr-xr-x</td> |
|
|||
430 | <td style="font-family:monospace"></td> |
|
|||
431 | <td style="font-family:monospace"></td> |
|
|||
432 | <td><a href="/file/tip/?style=gitweb">[up]</a></td> |
|
|||
433 | <td class="link"> </td> |
|
|||
434 | </tr> |
|
|||
435 |
|
429 | |||
436 | <tr class="parity1"> |
|
430 | <tr class="parity1"> | |
437 | <td style="font-family:monospace">drwxr-xr-x</td> |
|
431 | <td style="font-family:monospace">drwxr-xr-x</td> |
@@ -516,7 +516,6 Set up the repo | |||||
516 |
|
516 | |||
517 | $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file?style=gitweb' | egrep $REVLINKS |
|
517 | $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file?style=gitweb' | egrep $REVLINKS | |
518 | <a href="/rev/tip?style=gitweb">changeset</a> | <a href="/archive/tip.zip">zip</a> | |
|
518 | <a href="/rev/tip?style=gitweb">changeset</a> | <a href="/archive/tip.zip">zip</a> | | |
519 | <td><a href="/file/tip/?style=gitweb">[up]</a></td> |
|
|||
520 | <a href="/file/tip/dir?style=gitweb">dir</a> |
|
519 | <a href="/file/tip/dir?style=gitweb">dir</a> | |
521 | <a href="/file/tip/dir/?style=gitweb"></a> |
|
520 | <a href="/file/tip/dir/?style=gitweb"></a> | |
522 | <a href="/file/tip/dir?style=gitweb">files</a> |
|
521 | <a href="/file/tip/dir?style=gitweb">files</a> | |
@@ -590,7 +589,6 Set up the repo | |||||
590 |
|
589 | |||
591 | $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file/xyzzy?style=gitweb' | egrep $REVLINKS |
|
590 | $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file/xyzzy?style=gitweb' | egrep $REVLINKS | |
592 | <a href="/rev/xyzzy?style=gitweb">changeset</a> | <a href="/archive/xyzzy.zip">zip</a> | |
|
591 | <a href="/rev/xyzzy?style=gitweb">changeset</a> | <a href="/archive/xyzzy.zip">zip</a> | | |
593 | <td><a href="/file/xyzzy/?style=gitweb">[up]</a></td> |
|
|||
594 | <a href="/file/xyzzy/dir?style=gitweb">dir</a> |
|
592 | <a href="/file/xyzzy/dir?style=gitweb">dir</a> | |
595 | <a href="/file/xyzzy/dir/?style=gitweb"></a> |
|
593 | <a href="/file/xyzzy/dir/?style=gitweb"></a> | |
596 | <a href="/file/xyzzy/dir?style=gitweb">files</a> |
|
594 | <a href="/file/xyzzy/dir?style=gitweb">files</a> |
@@ -808,6 +808,10 no '[up]' entry in file view when in roo | |||||
808 | [1] |
|
808 | [1] | |
809 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=coal' | grep -F '[up]' |
|
809 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=coal' | grep -F '[up]' | |
810 | <a href="/file/tip/?style=coal">[up]</a> |
|
810 | <a href="/file/tip/?style=coal">[up]</a> | |
|
811 | $ get-with-headers.py localhost:$HGPORT 'file/tip?style=gitweb' | grep -F '[up]' | |||
|
812 | [1] | |||
|
813 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=gitweb' | grep -F '[up]' | |||
|
814 | <a href="/file/tip/?style=gitweb">[up]</a> | |||
811 |
|
815 | |||
812 | no style can be loaded from directories other than the specified paths |
|
816 | no style can be loaded from directories other than the specified paths | |
813 |
|
817 |
General Comments 0
You need to be logged in to leave comments.
Login now