templates/tags.tmpl
author Colin McMillen <mcmillen@cs.cmu.edu>
Thu, 27 Apr 2006 22:11:13 -0700
changeset 2148 c72e618c1204
parent 1768 f79afc26ae3b
child 2687 46b19175fec6
permissions -rw-r--r--
Add MOTD display to hgweb and hgwebdir. The hgweb "footer" template now has space for an optional message of the day (MOTD). This is used in two contexts: 1) On the hgwebdir index page 2) On various pages of each individual repo For both cases, the MOTD is read out of an entry named "motd" in the [web] section of a config file -- the only difference is which file is used. For #1, you need to add the section to hgweb.config; for #2, you need to add to the repo's .hgrc file. I suggest something like this: [web] motd = <p>To download these repositories, <a href="http://www.selenic.com/mercurial">get Mercurial</a> and then type something like:</p><p><pre>hg clone http://gs3080.sp.cs.cmu.edu/hg.cgi/cpmpy</pre></p>You can also click the Download links to get an archive of the latest revision. An online sample is available here: http://gs3080.sp.cs.cmu.edu/hg.cgi
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
     1
#header#
1549
fbe4bbd847e5 Always escape repository name in hgweb, very important in notfound.tmpl.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1419
diff changeset
     2
<title>#repo|escape#: tags</title>
1768
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
     3
<link rel="alternate" type="application/rss+xml"
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
     4
   href="?cmd=tags;style=rss" title="RSS feed for #repo|escape#: tags">
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
     5
</head>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
     6
<body>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
     7
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
     8
<div class="buttons">
1419
22041f754f4a hgweb: fix broken tags->changelog link
Matt Mackall <mpm@selenic.com>
parents: 1410
diff changeset
     9
<a href="?cl=tip">changelog</a>
1410
17703aa4491e hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents: 981
diff changeset
    10
<a href="?mf=#manifest|short#;path=/">manifest</a>
1768
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
    11
<a type="application/rss+xml" href="?cmd=tags;style=rss">rss</a>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
    12
</div>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
    13
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
    14
<h2>tags:</h2>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
    15
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
    16
<ul id="tagEntries">
974
aedb47764f29 Added support for #foo%bar# syntax
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 586
diff changeset
    17
#entries%tagentry#
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
    18
</ul>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
    19
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
    20
#footer#