Changeset - 3142616771cd
[Not reviewed]
default
1 4 0
Marcin Kuzminski - 16 years ago 2010-02-28 14:19:21

Removed default contact name
changed depracated import of helpers,
added manage repo funciton draft.
Template updates
removed colored logger
5 files changed with 13 insertions and 10 deletions:
0 comments (0 inline, 0 general)
hgwebdir.config
Show inline comments
 
@@ -8,7 +8,6 @@ hgext.highlight=
 

	
 
[web]
 
push_ssl = false
 
contact = develop@etelko.pl
 
allow_archive = gz zip bz2
 
allow_push = *
 
templates=/home/marcink/python_workspace/hg_app/pylons_app/templates/
pylons_app/controllers/hg.py
Show inline comments
 
@@ -2,7 +2,8 @@
 
# -*- coding: utf-8 -*-
 
import logging
 
from pylons_app.lib.base import BaseController, render
 
from pylons import c, g, session, h, request
 
from pylons import c, g, session, request
 
from pylons_app.lib import helpers as h
 
from mako.template import Template
 
from pprint import pprint
 
import os
 
@@ -31,6 +32,10 @@ class HgController(BaseController):
 

	
 
        return template.render(g = g, c = c, session = session, h = h)
 

	
 

	
 
    def manage_hgrc(self):
 
        pass
 

	
 
    def add_repo(self, new_repo):
 
        c.staticurl = g.statics
 

	
pylons_app/lib/colored_logger.py
Show inline comments
 
deleted file
pylons_app/templates/monoblue_custom/notfound.tmpl
Show inline comments
 
{header}
 
    <title>{repo|escape}: Mercurial repository not found</title>
 
    <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/>
 
    <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/>
 
</head>
 

	
 
<body>
 
@@ -15,14 +13,14 @@
 

	
 
    <h2 class="no-link no-border">Not Found</h2>
 
    <p class="normal">The specified repository "{repo|escape}" is unknown, sorry.</p>
 
    <p class="normal">Please go back to the <a href="{url}">main repository list page</a>.</p>
 

	
 
    <p class="normal"><a href="/add/{repo|escape}">Create "{repo|escape}" repository </a></p>
 
    <p class="normal">Go back to the <a href="{url}">main repository list page</a>.</p>
 
    <div class="page-footer">
 
        <p>Mercurial Repository: atom-log</p>
 
        <p>Mercurial Repository: {repo|escape}</p>
 
    </div>
 

	
 
    <div id="powered-by">
 
        <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>
 
        <p><a href="http://mercurial.selenic.com/" title="Mercurial"><img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p>
 

	
 
    </div>
 

	
pylons_app/templates/monoblue_custom/summary.tmpl
Show inline comments
 
@@ -27,7 +27,9 @@
 
            <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
 
        </ul>
 
    </div>
 

	
 
    <ul class="submenu">
 
        <li>edit hgrc</li>
 
    </ul>
 
    <h2 class="no-link no-border">Mercurial Repository Overview</h2>
 
    <dl class="overview">
 
        <dt>name</dt>
0 comments (0 inline, 0 general)