Mercurial > hg
comparison tests/test-hgweb-filelog.t @ 35090:79cbf5cc4fb8
templates: reword 'back to filelog' link anchor text
This anchor text is problematic in two ways: first, the "back to" part
assumes that you got to the page showing it via the filelog. This is
not necessarily true, as there are other ways to get to that view
besides the filelog view, such as for example following the history of
lines from a file. Second, it uses "filelog" jargon, which refers to
how each file has its own revlog. This is internal jargon that has no
business being exposed to the end user.
I just reworded this template to improve understanding.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 20 Nov 2017 14:30:54 -0500 |
parents | a1de4ffaa7a8 |
children | 448f7ec247e2 |
comparison
equal
deleted
inserted
replaced
35089:69ea10d5b00c | 35090:79cbf5cc4fb8 |
---|---|
739 <div class="main"> | 739 <div class="main"> |
740 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 740 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
741 <h3> | 741 <h3> |
742 log c @ 7:<a href="/rev/46c1a66bd8fc">46c1a66bd8fc</a> | 742 log c @ 7:<a href="/rev/46c1a66bd8fc">46c1a66bd8fc</a> |
743 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span> | 743 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span> |
744 (following lines 1:2 <a href="/log/tip/c">back to filelog</a>) | 744 (following lines 1:2 <a href="/log/tip/c">all revisions for this file</a>) |
745 </h3> | 745 </h3> |
746 | 746 |
747 | 747 |
748 <form class="search" action="/log"> | 748 <form class="search" action="/log"> |
749 | 749 |
859 <div class="main"> | 859 <div class="main"> |
860 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 860 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
861 <h3> | 861 <h3> |
862 log c @ 7:<a href="/rev/46c1a66bd8fc?revcount=1">46c1a66bd8fc</a> | 862 log c @ 7:<a href="/rev/46c1a66bd8fc?revcount=1">46c1a66bd8fc</a> |
863 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span> | 863 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span> |
864 (following lines 1:2 <a href="/log/tip/c?revcount=1">back to filelog</a>) | 864 (following lines 1:2 <a href="/log/tip/c?revcount=1">all revisions for this file</a>) |
865 </h3> | 865 </h3> |
866 | 866 |
867 | 867 |
868 <form class="search" action="/log"> | 868 <form class="search" action="/log"> |
869 <input type="hidden" name="revcount" value="1" /> | 869 <input type="hidden" name="revcount" value="1" /> |
1378 <div class="main"> | 1378 <div class="main"> |
1379 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 1379 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
1380 <h3> | 1380 <h3> |
1381 log c @ 12:<a href="/rev/6e4182052f7b">6e4182052f7b</a> | 1381 log c @ 12:<a href="/rev/6e4182052f7b">6e4182052f7b</a> |
1382 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span> | 1382 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span> |
1383 (following lines 3:4 <a href="/log/tip/c">back to filelog</a>) | 1383 (following lines 3:4 <a href="/log/tip/c">all revisions for this file</a>) |
1384 </h3> | 1384 </h3> |
1385 | 1385 |
1386 | 1386 |
1387 <form class="search" action="/log"> | 1387 <form class="search" action="/log"> |
1388 | 1388 |
1635 <div class="main"> | 1635 <div class="main"> |
1636 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 1636 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
1637 <h3> | 1637 <h3> |
1638 log c @ 8:<a href="/rev/5c6574614c37">5c6574614c37</a> | 1638 log c @ 8:<a href="/rev/5c6574614c37">5c6574614c37</a> |
1639 <span class="phase">draft</span> <span class="branchname">a-branch</span> | 1639 <span class="phase">draft</span> <span class="branchname">a-branch</span> |
1640 (following lines 3:4, descending <a href="/log/8/c">back to filelog</a>) | 1640 (following lines 3:4, descending <a href="/log/8/c">all revisions for this file</a>) |
1641 </h3> | 1641 </h3> |
1642 | 1642 |
1643 | 1643 |
1644 <form class="search" action="/log"> | 1644 <form class="search" action="/log"> |
1645 | 1645 |