comparison mercurial/templates/paper/filelog.tmpl @ 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 9acc0360ff67
children
comparison
equal deleted inserted replaced
35089:69ea10d5b00c 35090:79cbf5cc4fb8
46 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> 46 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
47 <h3> 47 <h3>
48 log {file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> 48 log {file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
49 {alltags} 49 {alltags}
50 {if(linerange, 50 {if(linerange,
51 ' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">back to filelog</a>)')} 51 ' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">all revisions for this file</a>)')}
52 </h3> 52 </h3>
53 53
54 {searchform} 54 {searchform}
55 55
56 <div class="navigate"> 56 <div class="navigate">