mercurial/templates/coal/map
author Martin Geisler <mg@lazybytes.net>
Sun, 29 Aug 2010 22:55:37 +0200
changeset 12070 fddacca3202e
parent 10575 136eed1ac69c
child 12666 ead4e21f49f1
permissions -rw-r--r--
Merge with stable
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
default = 'shortlog'
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     2
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     3
mimetype = 'text/html; charset={encoding}'
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
header = header.tmpl
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     5
footer = ../paper/footer.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     6
search = ../paper/search.tmpl
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     8
changelog = ../paper/shortlog.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     9
shortlog = ../paper/shortlog.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    10
shortlogentry = ../paper/shortlogentry.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    11
graph = ../paper/graph.tmpl
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    12
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    13
naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    14
navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
6701
bf72e756c98b templates: fix navigation links for graph entries
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6691
diff changeset
    15
navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16
filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    17
filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    18
filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
7182
295af5bc1bcc hgweb: remove links to non-existent file versions
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6735
diff changeset
    19
filenolink = '{file|escape} '
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    20
fileellipses = '...'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    21
changelogentry = ../paper/shortlogentry.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    22
searchentry = ../paper/shortlogentry.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    23
changeset = ../paper/changeset.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    24
manifest = ../paper/manifest.tmpl
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
10254
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    26
nav = '{before%naventry} {after%naventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    27
navshort = '{before%navshortentry}{after%navshortentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    28
navgraph = '{before%navgraphentry}{after%navgraphentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    29
filenav = '{before%filenaventry}{after%filenaventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    30
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    31
direntry = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    32
  <tr class="fileline parity{parity}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    33
    <td class="name">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    34
      <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    35
        <img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    36
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    37
      <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    38
        {emptydirs|escape}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    39
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    40
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    41
    <td class="size"></td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    42
    <td class="permissions">drwxr-xr-x</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    43
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    44
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    45
fileentry = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    46
  <tr class="fileline parity{parity}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    47
    <td class="filename">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    48
      <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    49
        <img src="{staticurl}coal-file.png" alt="file"/> {basename|escape}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    50
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    51
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    52
    <td class="size">{size}</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    53
    <td class="permissions">{permissions|permissions}</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    54
  </tr>'
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    56
filerevision = ../paper/filerevision.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    57
fileannotate = ../paper/fileannotate.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    58
filediff = ../paper/filediff.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    59
filelog = ../paper/filelog.tmpl
8486
835b1ee111f4 coal, paper: add newlines when displaying a file in hgweb
Martin Geisler <mg@lazybytes.net>
parents: 8373
diff changeset
    60
fileline = '
835b1ee111f4 coal, paper: add newlines when displaying a file in hgweb
Martin Geisler <mg@lazybytes.net>
parents: 8373
diff changeset
    61
  <div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    62
filelogentry = ../paper/filelogentry.tmpl
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    63
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    64
annotateline = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    65
  <tr class="parity{parity}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    66
    <td class="annotate">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    67
      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    68
         title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    69
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    70
    <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    71
  </tr>'
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    72
8369
93a811ef3ac0 coal/paper: Wrap diff in <pre/>
Rocco Rutte <pdmef@gmx.net>
parents: 8353
diff changeset
    73
diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    74
difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    75
difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    76
difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    77
diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    78
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    79
changelogparent = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    80
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    81
    <th class="parent">parent {rev}:</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    82
    <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    83
  </tr>'
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    84
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    85
changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    86
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    87
filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    88
filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    89
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    90
filerename = '{file|escape}@'
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    91
filelogrename = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    92
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    93
    <th>base:</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    94
    <td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    95
      <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    96
        {file|escape}@{node|short}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    97
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    98
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
    99
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   100
fileannotateparent = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   101
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   102
    <td class="metatag">parent:</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   103
    <td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   104
      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   105
        {rename%filerename}{node|short}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   106
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   107
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   108
  </tr>'
7668
876de22b70b8 coal/paper: add missing spaces in changeset child formatting
Stepan Koltsov <yozh@mx1.ru>
parents: 7411
diff changeset
   109
changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   110
changelogchild = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   111
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   112
    <th class="child">child</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   113
    <td class="child">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   114
      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   115
        {node|short}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   116
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   117
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   118
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   119
fileannotatechild = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   120
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   121
    <td class="metatag">child:</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   122
    <td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   123
      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   124
        {node|short}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   125
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   126
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   127
  </tr>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
   128
tags = ../paper/tags.tmpl
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   129
tagentry = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   130
  <tr class="tagEntry parity{parity}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   131
    <td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   132
      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   133
        {tag|escape}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   134
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   135
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   136
    <td class="node">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   137
      {node|short}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   138
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   139
  </tr>'
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 8240
diff changeset
   140
branches = ../paper/branches.tmpl
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   141
branchentry = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   142
  <tr class="tagEntry parity{parity}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   143
    <td>
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8486
diff changeset
   144
      <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   145
        {branch|escape}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   146
      </a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   147
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   148
    <td class="node">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   149
      {node|short}
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   150
    </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   151
  </tr>'
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   152
changelogtag = '<span class="tag">{name|escape}</span> '
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   153
changesettag = '<span class="tag">{tag|escape}</span> '
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
   154
changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 10278
diff changeset
   155
changelogbranchname = '<span class="branchname">{name|escape}</span> '
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   156
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   157
filediffparent = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   158
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   159
    <th class="parent">parent {rev}:</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   160
    <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   161
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   162
filelogparent = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   163
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   164
    <th>parent {rev}:</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   165
    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   166
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   167
filediffchild = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   168
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   169
    <th class="child">child {rev}:</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   170
    <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   171
  </td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   172
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   173
filelogchild = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   174
  <tr>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   175
    <th>child {rev}:</th>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   176
    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   177
  </tr>'
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   178
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   179
indexentry = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   180
  <tr class="parity{parity}">
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   181
    <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   182
    <td>{description}</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   183
    <td>{contact|obfuscate}</td>
10277
17c6d5eab25d templates: do not add "ago" twice
Martin Geisler <mg@lazybytes.net>
parents: 8713
diff changeset
   184
    <td class="age">{lastchange|age}</td>
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   185
    <td class="indexlinks">{archives%indexarchiveentry}</td>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   186
  </tr>\n'
6734
41edbc2e0b0b Improve archive links in coal/paper index
Brendan Cully <brendan@kublai.com>
parents: 6713
diff changeset
   187
indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
   188
index = ../paper/index.tmpl
8373
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   189
archiveentry = '
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   190
  <li>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   191
    <a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a>
890a85b67228 coal: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8369
diff changeset
   192
  </li>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
   193
notfound = ../paper/notfound.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
   194
error = ../paper/error.tmpl
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   195
urlparameter = '{separator}{name}={value|urlescape}'
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
   196
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'