# HG changeset patch # User Marcin Kuzminski # Date 2010-05-21 23:42:03 # Node ID 41010121092351d2ac24fda22115751dca2e825f # Parent 8337dd6492a9231cb396a9c157ed27900a599f13 removed search field from templates diff --git a/pylons_app/templates/branches/branches.html b/pylons_app/templates/branches/branches.html --- a/pylons_app/templates/branches/branches.html +++ b/pylons_app/templates/branches/branches.html @@ -11,14 +11,7 @@ ${_('branches')} <%def name="page_nav()"> -
- -
- - ${self.menu('branches')} + ${self.menu('branches')} <%def name="main()"> diff --git a/pylons_app/templates/errors/error_404.html b/pylons_app/templates/errors/error_404.html --- a/pylons_app/templates/errors/error_404.html +++ b/pylons_app/templates/errors/error_404.html @@ -15,10 +15,7 @@ from pylons_app.lib import filters <%def name="page_nav()"> - + ${self.menu('admin')} <%def name="js()"> diff --git a/pylons_app/templates/files/file_diff.html b/pylons_app/templates/files/file_diff.html --- a/pylons_app/templates/files/file_diff.html +++ b/pylons_app/templates/files/file_diff.html @@ -11,14 +11,7 @@ ${_('files')} <%def name="page_nav()"> -
- -
- - ${self.menu('files')} + ${self.menu('files')} <%def name="css()"> diff --git a/pylons_app/templates/files/files.html b/pylons_app/templates/files/files.html --- a/pylons_app/templates/files/files.html +++ b/pylons_app/templates/files/files.html @@ -11,14 +11,7 @@ ${_('files')} <%def name="page_nav()"> -
- -
- - ${self.menu('files')} + ${self.menu('files')} <%def name="css()"> diff --git a/pylons_app/templates/shortlog/shortlog.html b/pylons_app/templates/shortlog/shortlog.html --- a/pylons_app/templates/shortlog/shortlog.html +++ b/pylons_app/templates/shortlog/shortlog.html @@ -11,14 +11,7 @@ ${_('shortlog')} <%def name="page_nav()"> -
- -
- - ${self.menu('shortlog')} + ${self.menu('shortlog')} <%def name="main()"> diff --git a/pylons_app/templates/summary.html b/pylons_app/templates/summary.html deleted file mode 100644 --- a/pylons_app/templates/summary.html +++ /dev/null @@ -1,126 +0,0 @@ -<%inherit file="/base/base.html"/> -<%! -from pylons_app.lib import filters -%> -<%def name="title()"> - ${_('Repository managment')} - -<%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / - ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} - / - ${_('summary')} - -<%def name="page_nav()"> -
- -
- ${self.menu('summary')} - -<%def name="main()"> - -
-
${_('name')}
-
${c.repo_info.name}
-
${_('description')}
-
${c.repo_info.description}
-
${_('contact')}
-
${c.repo_info.contact}
-
${_('last change')}
-
${c.repo_info.last_change|n,filters.rfc822date} - ${c.repo_info.last_change|n,filters.age}
-
${_('url')}
-
hg clone ${c.clone_repo_url}
-
${_('Download')}
-
- %for cnt,archive in enumerate(c.repo_info._get_archives()): - %if cnt >=1: - | - %endif - ${h.link_to(c.repo_info.name+'.'+archive['type'], - h.url('files_archive_home',repo_name=c.repo_info.name, - revision='tip',fileformat=archive['extension']))} - %endfor -
-
- -

${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}

- - <%def name="message_slug(msg)"> - <% - limit = 60 - if len(msg) > limit: - return msg[:limit]+'...' - else: - return msg - %> - - %for cnt,cs in enumerate(c.repo_changesets): - - - - - - - - - %endfor -
${cs._ctx.date()|n,filters.age}${cs.author|n,filters.person}r${cs.revision} - ${h.link_to(message_slug(cs.message), - h.url('changeset_home',repo_name=c.repo_name,revision=cs._short), - title=cs.message)} - - - ${cs.branch} - %for tag in cs.tags: - ${tag} - %endfor - - - ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))} - | - ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))} -
- -

${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}

- - %for cnt,tag in enumerate(c.repo_tags): - - - - - - %endfor -
${tag._ctx.date()|n,filters.age} - - ${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} - - - ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} - | - ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))} -
- -

${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}

- - %for cnt,branch in enumerate(c.repo_branches): - - - - - - %endfor -
${branch._ctx.date()|n,filters.age} - - ${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} - - - ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} - | - ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))} -
- - \ No newline at end of file diff --git a/pylons_app/templates/summary/summary.html b/pylons_app/templates/summary/summary.html --- a/pylons_app/templates/summary/summary.html +++ b/pylons_app/templates/summary/summary.html @@ -13,13 +13,7 @@ from pylons_app.lib import filters ${_('summary')} <%def name="page_nav()"> -
- -
- ${self.menu('summary')} + ${self.menu('summary')} <%def name="main()"> diff --git a/pylons_app/templates/tags/tags.html b/pylons_app/templates/tags/tags.html --- a/pylons_app/templates/tags/tags.html +++ b/pylons_app/templates/tags/tags.html @@ -13,14 +13,7 @@ from pylons_app.lib import filters ${_('tags')} <%def name="page_nav()"> -
- -
- - ${self.menu('tags')} + ${self.menu('tags')} <%def name="main()">