##// END OF EJS Templates
monoblue: don't show '[up]' in file view when in root directory already
av6 -
r38203:9ed35270 default
parent child Browse files
Show More
@@ -33,13 +33,7 b''
33 <p class="files">{path|escape} {alltags}</p>
33 <p class="files">{path|escape} {alltags}</p>
34
34
35 <table>
35 <table>
36 <tr class="parity{upparity}">
36 {ifeq(path, up, '', updirentry)}
37 <td>drwxr-xr-x</td>
38 <td></td>
39 <td></td>
40 <td><a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
41 <td class="link">&nbsp;</td>
42 </tr>
43 {dentries%direntry}
37 {dentries%direntry}
44 {fentries%fileentry}
38 {fentries%fileentry}
45 </table>
39 </table>
@@ -59,6 +59,16 b" 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>drwxr-xr-x</td>
65 <td></td>
66 <td></td>
67 <td>
68 <a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a>
69 </td>
70 <td class="link">&nbsp;</td>
71 </tr>'
62 direntry = '
72 direntry = '
63 <tr class="parity{parity}">
73 <tr class="parity{parity}">
64 <td>drwxr-xr-x</td>
74 <td>drwxr-xr-x</td>
@@ -312,13 +312,7 b' manifest with descending (monoblue)'
312 <p class="files">/ <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></p>
312 <p class="files">/ <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></p>
313
313
314 <table>
314 <table>
315 <tr class="parity0">
315
316 <td>drwxr-xr-x</td>
317 <td></td>
318 <td></td>
319 <td><a href="/file/tip/?style=monoblue">[up]</a></td>
320 <td class="link">&nbsp;</td>
321 </tr>
322
316
323 <tr class="parity1">
317 <tr class="parity1">
324 <td>drwxr-xr-x</td>
318 <td>drwxr-xr-x</td>
@@ -754,7 +754,6 b' Set up the repo'
754 <li><a href="/graph/tip?style=monoblue">graph</a></li>
754 <li><a href="/graph/tip?style=monoblue">graph</a></li>
755 <li><a href="/rev/tip?style=monoblue">changeset</a></li>
755 <li><a href="/rev/tip?style=monoblue">changeset</a></li>
756 <li><a href="/archive/tip.zip">zip</a></li>
756 <li><a href="/archive/tip.zip">zip</a></li>
757 <td><a href="/file/tip/?style=monoblue">[up]</a></td>
758 <a href="/file/tip/dir?style=monoblue">dir</a>
757 <a href="/file/tip/dir?style=monoblue">dir</a>
759 <a href="/file/tip/dir/?style=monoblue"></a>
758 <a href="/file/tip/dir/?style=monoblue"></a>
760 <td><a href="/file/tip/dir?style=monoblue">files</a></td>
759 <td><a href="/file/tip/dir?style=monoblue">files</a></td>
@@ -817,7 +816,6 b' Set up the repo'
817 <li><a href="/graph/xyzzy?style=monoblue">graph</a></li>
816 <li><a href="/graph/xyzzy?style=monoblue">graph</a></li>
818 <li><a href="/rev/xyzzy?style=monoblue">changeset</a></li>
817 <li><a href="/rev/xyzzy?style=monoblue">changeset</a></li>
819 <li><a href="/archive/xyzzy.zip">zip</a></li>
818 <li><a href="/archive/xyzzy.zip">zip</a></li>
820 <td><a href="/file/xyzzy/?style=monoblue">[up]</a></td>
821 <a href="/file/xyzzy/dir?style=monoblue">dir</a>
819 <a href="/file/xyzzy/dir?style=monoblue">dir</a>
822 <a href="/file/xyzzy/dir/?style=monoblue"></a>
820 <a href="/file/xyzzy/dir/?style=monoblue"></a>
823 <td><a href="/file/xyzzy/dir?style=monoblue">files</a></td>
821 <td><a href="/file/xyzzy/dir?style=monoblue">files</a></td>
@@ -812,6 +812,10 b" no '[up]' entry in file view when in roo"
812 [1]
812 [1]
813 $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=gitweb' | grep -F '[up]'
813 $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=gitweb' | grep -F '[up]'
814 <a href="/file/tip/?style=gitweb">[up]</a>
814 <a href="/file/tip/?style=gitweb">[up]</a>
815 $ get-with-headers.py localhost:$HGPORT 'file/tip?style=monoblue' | grep -F '[up]'
816 [1]
817 $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=monoblue' | grep -F '[up]'
818 <a href="/file/tip/?style=monoblue">[up]</a>
815
819
816 no style can be loaded from directories other than the specified paths
820 no style can be loaded from directories other than the specified paths
817
821
General Comments 0
You need to be logged in to leave comments. Login now