##// END OF EJS Templates
hgweb: fix type of {nav} keyword when linerange filter is active...
Yuya Nishihara -
r37421:448f7ec2 default
parent child Browse files
Show More
@@ -1082,7 +1082,7 b' def filelog(web):'
1082 linerange = webutil.formatlinerange(*lrange)
1082 linerange = webutil.formatlinerange(*lrange)
1083 # deactivate numeric nav links when linerange is specified as this
1083 # deactivate numeric nav links when linerange is specified as this
1084 # would required a dedicated "revnav" class
1084 # would required a dedicated "revnav" class
1085 nav = None
1085 nav = []
1086 if descend:
1086 if descend:
1087 it = dagop.blockdescendants(fctx, *lrange)
1087 it = dagop.blockdescendants(fctx, *lrange)
1088 else:
1088 else:
@@ -755,7 +755,7 b' before addition - error'
755 <div class="navigate">
755 <div class="navigate">
756 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
756 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
757 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
757 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
758 | </div>
758 | </div>
759
759
760 <table class="bigtable">
760 <table class="bigtable">
761 <thead>
761 <thead>
@@ -791,7 +791,7 b' before addition - error'
791 <div class="navigate">
791 <div class="navigate">
792 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
792 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
793 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
793 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
794 |
794 |
795 </div>
795 </div>
796
796
797 </div>
797 </div>
@@ -875,7 +875,7 b' before addition - error'
875 <div class="navigate">
875 <div class="navigate">
876 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
876 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
877 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
877 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
878 | </div>
878 | </div>
879
879
880 <table class="bigtable">
880 <table class="bigtable">
881 <thead>
881 <thead>
@@ -902,7 +902,7 b' before addition - error'
902 <div class="navigate">
902 <div class="navigate">
903 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
903 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
904 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
904 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
905 |
905 |
906 </div>
906 </div>
907
907
908 </div>
908 </div>
@@ -1394,7 +1394,7 b" filelog with 'linerange' and 'patch'"
1394 <div class="navigate">
1394 <div class="navigate">
1395 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1395 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1396 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1396 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1397 | </div>
1397 | </div>
1398
1398
1399 <table class="bigtable">
1399 <table class="bigtable">
1400 <thead>
1400 <thead>
@@ -1500,7 +1500,7 b" filelog with 'linerange' and 'patch'"
1500 <div class="navigate">
1500 <div class="navigate">
1501 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1501 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1502 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1502 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1503 |
1503 |
1504 </div>
1504 </div>
1505
1505
1506 </div>
1506 </div>
@@ -1651,7 +1651,7 b" filelog with 'linerange' and 'patch'"
1651 <div class="navigate">
1651 <div class="navigate">
1652 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1652 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1653 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1653 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1654 | </div>
1654 | </div>
1655
1655
1656 <table class="bigtable">
1656 <table class="bigtable">
1657 <thead>
1657 <thead>
@@ -1696,7 +1696,7 b" filelog with 'linerange' and 'patch'"
1696 <div class="navigate">
1696 <div class="navigate">
1697 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1697 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1698 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1698 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1699 |
1699 |
1700 </div>
1700 </div>
1701
1701
1702 </div>
1702 </div>
General Comments 0
You need to be logged in to leave comments. Login now