Пример #1
0
  python manage.py loaddata man
  
it will overwrite existing web pages.

"""

from __future__ import unicode_literals

from django.conf import settings

from lino.modlib.pages.builder import page, objects    

page('man','en','User manual',"""
This is the user manual for 
`{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
""")

page('man','de','Benutzerhandbuch',"""
Benutzerhandbuch für 
`{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
""")

page('models','en','Model reference',"""
These are the models used in {{site.verbose_name}}.

{{as_table('about.Models')}}

""",parent='man')
Пример #2
0
"""

from __future__ import unicode_literals

from lino.modlib.pages.builder import page, objects

page(
    'index', 'en', '', """
Welcome to the **{{site.title}}** site.
{% if site.verbose_name %}
This is an online demo of `{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
{% endif %}

{% if site.admin_prefix %}

You are currently seeing the **web content** section,
whose content and layout are configurable using
the normal Django techniques.

To see what Lino really adds to a Django site,
you should go to the `Admin <{{site.admin_prefix}}/>`__ section.

{% endif %}
""")

page(
    'index', 'fr', '', """
Bienvenue sur **{{site.title}}**.
{% if site.verbose_name %}
Ce site est une démonstration en ligne de
Пример #3
0
## You should have received a copy of the GNU General Public License
## along with Lino; if not, see <http://www.gnu.org/licenses/>.

"""
The Lino Così User Manual

"""

from __future__ import unicode_literals

from django.conf import settings

from lino.modlib.pages.builder import page, objects

page('userman','de','Lino Così Benutzerhandbuch',"""

""")
    
page('contacts','de','Kontakte verwalten',"""

Im Menü :menuselection:`Kontakte`
haben wir drei Befehle:
:menuselection:`Kontakte --> Personen`,
:menuselection:`Kontakte --> Organisationen`
und
:menuselection:`Kontakte --> Partner`.

In Lino Così müssen Empfänger von Verkaufsrechnungen und Absender 
von Einkaufsrechnungen *zumindest* als "Partner" erfasst werden. 
Ein Partner ist normalerweise entweder eine Organisation 
(Firma, Institution,...) oder eine Person.
Пример #4
0
from django.conf import settings

from lino.modlib.pages.builder import page, objects

page(
    "index",
    "en",
    "",
    """
Welcome to the **{{site.title}}** site.
{% if site.verbose_name %}
This is an online demo of `{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
{% endif %}

{% if site.admin_prefix %}

You are currently seeing the **web content** section,
whose content and layout are configurable using 
the normal Django techniques.

To see what Lino really adds to a Django site, 
you should go to the `Admin <{{site.admin_prefix}}/>`__ section.

{% endif %}
""",
)


page(
    "index",
Пример #5
0
  python manage.py loaddata man
  
it will overwrite existing web pages.

"""

from __future__ import unicode_literals

from django.conf import settings

from lino.modlib.pages.builder import page, objects

page('man', 'en', 'User manual', """
This is the user manual for 
`{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
""")

page('man', 'de', 'Benutzerhandbuch', """
Benutzerhandbuch für 
`{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
""")

page('models', 'en', 'Model reference', """
These are the models used in {{site.verbose_name}}.

{{as_table('about.Models')}}

""", parent='man')
Пример #6
0
"""

from __future__ import unicode_literals

from lino.modlib.pages.builder import page, objects

page('index', 'en', '', """
Welcome to the **{{site.title}}** site.
{% if site.verbose_name %}
This is an online demo of `{{site.verbose_name}} <{{site.url}}>`__
version {{site.version}}.
{% endif %}

{% if site.admin_prefix %}

You are currently seeing the **web content** section,
whose content and layout are configurable using
the normal Django techniques.

To see what Lino really adds to a Django site,
you should go to the `Admin <{{site.admin_prefix}}/>`__ section.

{% endif %}
""")


page('index', 'fr', '', """
Bienvenue sur **{{site.title}}**.
{% if site.verbose_name %}
Ce site est une démonstration en ligne de
`{{site.verbose_name}} <{{site.url}}>`__