# HG changeset patch # User Marcin Kuzminski # Date 2010-02-28 14:19:21 # Node ID 3142616771cd4721e5d5c403947674a7cc90ec99 # Parent fac1f62a1d71325d4e082f8ebf07f6f6d56b2102 Removed default contact name changed depracated import of helpers, added manage repo funciton draft. Template updates removed colored logger diff --git a/hgwebdir.config b/hgwebdir.config --- a/hgwebdir.config +++ b/hgwebdir.config @@ -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/ diff --git a/pylons_app/controllers/hg.py b/pylons_app/controllers/hg.py --- a/pylons_app/controllers/hg.py +++ b/pylons_app/controllers/hg.py @@ -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 diff --git a/pylons_app/lib/colored_logger.py b/pylons_app/lib/colored_logger.py deleted file mode 100644 --- a/pylons_app/lib/colored_logger.py +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/pylons_app/templates/monoblue_custom/notfound.tmpl b/pylons_app/templates/monoblue_custom/notfound.tmpl --- a/pylons_app/templates/monoblue_custom/notfound.tmpl +++ b/pylons_app/templates/monoblue_custom/notfound.tmpl @@ -1,7 +1,5 @@ {header}
The specified repository "{repo|escape}" is unknown, sorry.
-Please go back to the main repository list page.
- +Create "{repo|escape}" repository
+Go back to the main repository list page.
diff --git a/pylons_app/templates/monoblue_custom/summary.tmpl b/pylons_app/templates/monoblue_custom/summary.tmpl --- a/pylons_app/templates/monoblue_custom/summary.tmpl +++ b/pylons_app/templates/monoblue_custom/summary.tmpl @@ -27,7 +27,9 @@