MercurialWebTheme

themes/mercurialweb/map

38:9237523a30e0
2011-05-07 Paul Boddie Added diff hiding in the changeset view, requiring a patch introducing the blockno variable in the changeset's files list and for each diff in the diffs webcommand.
     1 default = 'summary'     2 mimetype = 'application/xhtml+xml; charset={encoding}'     3      4 branches = branches.tmpl     5 changelog = changelog.tmpl     6 changeset = changeset.tmpl     7 error = error.tmpl     8 fileannotate = fileannotate.tmpl     9 filediff = filediff.tmpl    10 filerevision = filerevision.tmpl    11 graph = graph.tmpl    12 header = header.tmpl    13 footer = footer.tmpl    14 index = index.tmpl    15 manifest = manifest.tmpl    16 notfound = notfound.tmpl    17 search = search.tmpl    18 shortlog = shortlog.tmpl    19 summary = summary.tmpl    20 tags = tags.tmpl    21     22 annotateline = annotateline.tmpl    23 branchentry = branchentry.tmpl    24 changelogentry = changelogentry.tmpl    25 direntry = direntry.tmpl    26 fileentry = fileentry.tmpl    27 indexentry = indexentry.tmpl    28 searchentry = searchentry.tmpl    29 shortlogentry = shortlogentry.tmpl    30 tagentry = tagentry.tmpl    31     32 graphedge = graphedge.tmpl    33 graphlabel = graphlabel.tmpl    34 graphnode = graphnode.tmpl    35     36 changelogpagerentry = '{before%changelogpagerlink}{after%changelogpagerlink}'    37 graphpagerentry = '{before%graphpagerlink}{after%graphpagerlink}'    38 shortlogpagerentry = '{before%shortlogpagerlink}{after%shortlogpagerlink}'    39     40 archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|xmlescape}</a> '    41 branchlabel = '<span class="branch">{name}</span> '    42 branchtag = '<span class="branch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '    43 changelogpagerlink = '<a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|xmlescape}</a> '    44 changeloglink = '<a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">{rev}:{node|short}</a> '    45 changesetlink = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a> '    46 changesetfiledifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '    47 filerevlink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '    48 graphpagerlink = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}#{node|short}">{label|xmlescape}</a> '    49 inbranchlabel = '<span class="inbranch">{name}</span> '    50 inbranchtag = '<span class="inbranch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '    51 shortlogpagerlink = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|xmlescape}</a> '    52 tagtag = '<span class="tag">{name}</span> '    53     54 diffblock = '<div id="diff{blockno}" class="source"><pre>{lines}</pre></div>'    55 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|xmlescape}</span>'    56 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|xmlescape}</span>'    57 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|xmlescape}</span>'    58 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|xmlescape}'    59     60 filedifflink = '<span><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|xmlescape}</a></span> '    61 fileellipses = '...'    62     63 fileline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|xmlescape}'    64     65 filenolink = '{file|xmlescape} '    66 filenodelink = '<span><a href="{url}rev/{node|short}#diff{blockno}{sessionvars%urlparameter}">{file|xmlescape}</a></span> '    67     68 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'    69 urlparameter = '{separator}{name}={value|urlescape}'