From 14cb9e0d74558c7cd44bb055d3d00af136f8f51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 7 Apr 2010 00:55:02 +0200 Subject: Finish index page --- templates/menu.mako | 4 +++- templates/page.mako | 1 + templates/pages/index.mako | 22 +++++++++++++++++++--- templates/root.mako | 2 +- 4 files changed, 24 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/menu.mako b/templates/menu.mako index 4d6fff4..cf9923e 100644 --- a/templates/menu.mako +++ b/templates/menu.mako @@ -2,6 +2,8 @@ menu = [ ("/index", "Portato"), ("/download", "Download"), - ("/development", "Development") + ("/development", "Development"), + ("/translating", "Translating"), + ("http://necoro.wordpress.com", "Blog") ] %> diff --git a/templates/page.mako b/templates/page.mako index e8e582a..14728a3 100644 --- a/templates/page.mako +++ b/templates/page.mako @@ -3,6 +3,7 @@ %> <%inherit file="/root.mako" /> +<%namespace file="/root.mako" inheritable="True" import="hl"/>

${self.attr.title}

${next.body()} diff --git a/templates/pages/index.mako b/templates/pages/index.mako index a5cb8d1..5a08fa7 100644 --- a/templates/pages/index.mako +++ b/templates/pages/index.mako @@ -4,14 +4,30 @@ <%inherit file="/page.mako" />

-Portato is a GUI for the package manager of Gentoo and Sabayon - Portage. It is mostly written in Python for the GTK+-frontend, which is used in most Linux desktop environments (except KDE). + Portato is a GUI for the package manager of Gentoo and Sabayon - Portage. It is mostly written in Python for the GTK+-frontend, which is used in most Linux desktop environments (except KDE).

-As the current portage development is quite fast-paced, Portato is not able to keep step. Thus it might be that the released version(s) do not behave as expected. In these cases also try the development version. + As the current portage development is quite fast-paced, Portato is not able to keep step. Thus it might be that the released version(s) do not behave as expected. In these cases also try the development version.

Installation

-Portato is delivered with the standard portage tree and can be installed using emerge portato + Portato is delivered with the standard portage tree and can be installed using emerge portato. + If you want to use the development version, you need to do the following (given you have installed and configured layman ... if not: see this guide): +

+ +<%self:hl lang="bash"> +layman -o http://portato.sourceforge.net/layman.xml -f -a portato +echo "=app-portage/portato-9999" >> /etc/portage/package.unmask +echo "=app-portage/portato-9999" >> /etc/portage/package.keywords +emerge -av portato + + +

Translations

+

+ Portato does know about the so called Native Language Support. It currently supports the following languages: Catalan, English, Italian, German, Polish, Portugese, and Turkish. +

+

+ If you want to add support for another language, please see the translation howto.

diff --git a/templates/root.mako b/templates/root.mako index c20704d..a6ed47a 100644 --- a/templates/root.mako +++ b/templates/root.mako @@ -39,7 +39,7 @@ <%namespace name="_hl" module="highlighting"/> <%def name="hl(lang)"> -
${_hl.highlight(capture(caller.body), lang)}
+
${_hl.highlight(capture(caller.body), lang)}
<%def name="title()"> -- cgit v1.2.3