##// END OF EJS Templates
Removed default contact name...
Marcin Kuzminski -
r22:31426167 default
parent child Browse files
Show More
@@ -8,7 +8,6 b' hgext.highlight='
8
8
9 [web]
9 [web]
10 push_ssl = false
10 push_ssl = false
11 contact = develop@etelko.pl
12 allow_archive = gz zip bz2
11 allow_archive = gz zip bz2
13 allow_push = *
12 allow_push = *
14 templates=/home/marcink/python_workspace/hg_app/pylons_app/templates/
13 templates=/home/marcink/python_workspace/hg_app/pylons_app/templates/
@@ -2,7 +2,8 b''
2 # -*- coding: utf-8 -*-
2 # -*- coding: utf-8 -*-
3 import logging
3 import logging
4 from pylons_app.lib.base import BaseController, render
4 from pylons_app.lib.base import BaseController, render
5 from pylons import c, g, session, h, request
5 from pylons import c, g, session, request
6 from pylons_app.lib import helpers as h
6 from mako.template import Template
7 from mako.template import Template
7 from pprint import pprint
8 from pprint import pprint
8 import os
9 import os
@@ -31,6 +32,10 b' class HgController(BaseController):'
31
32
32 return template.render(g = g, c = c, session = session, h = h)
33 return template.render(g = g, c = c, session = session, h = h)
33
34
35
36 def manage_hgrc(self):
37 pass
38
34 def add_repo(self, new_repo):
39 def add_repo(self, new_repo):
35 c.staticurl = g.statics
40 c.staticurl = g.statics
36
41
@@ -1,7 +1,5 b''
1 {header}
1 {header}
2 <title>{repo|escape}: Mercurial repository not found</title>
2 <title>{repo|escape}: Mercurial repository not found</title>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/>
5 </head>
3 </head>
6
4
7 <body>
5 <body>
@@ -15,14 +13,14 b''
15
13
16 <h2 class="no-link no-border">Not Found</h2>
14 <h2 class="no-link no-border">Not Found</h2>
17 <p class="normal">The specified repository "{repo|escape}" is unknown, sorry.</p>
15 <p class="normal">The specified repository "{repo|escape}" is unknown, sorry.</p>
18 <p class="normal">Please go back to the <a href="{url}">main repository list page</a>.</p>
16 <p class="normal"><a href="/add/{repo|escape}">Create "{repo|escape}" repository </a></p>
19
17 <p class="normal">Go back to the <a href="{url}">main repository list page</a>.</p>
20 <div class="page-footer">
18 <div class="page-footer">
21 <p>Mercurial Repository: atom-log</p>
19 <p>Mercurial Repository: {repo|escape}</p>
22 </div>
20 </div>
23
21
24 <div id="powered-by">
22 <div id="powered-by">
25 <p><a href="http://mercurial.selenic.com/" title="Mercurial"><img src="/hg_static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p>
23 <p><a href="http://mercurial.selenic.com/" title="Mercurial"><img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p>
26
24
27 </div>
25 </div>
28
26
@@ -27,7 +27,9 b''
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 </ul>
28 </ul>
29 </div>
29 </div>
30
30 <ul class="submenu">
31 <li>edit hgrc</li>
32 </ul>
31 <h2 class="no-link no-border">Mercurial Repository Overview</h2>
33 <h2 class="no-link no-border">Mercurial Repository Overview</h2>
32 <dl class="overview">
34 <dl class="overview">
33 <dt>name</dt>
35 <dt>name</dt>
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now