symposion_app/symposion/templates/homepage.html

45 lines
1.8 KiB
HTML
Raw Normal View History

2012-02-05 18:53:49 +00:00
{% extends "banner_base.html" %}
{% load i18n %}
{% load ifsetting_tag %}
{% block head_title %}{% trans "Welcome" %}{% endblock %}
{% block body_class %}home{% endblock %}
{% block banner %}
<h1>{% trans "Welcome to Pinax" %}</h1>
<p>
{% blocktrans %}
<b>Pinax</b> is a <a href="http://djangoproject.com/">Django</a>
project intended to provide a starting point for websites. By
integrating numerous reusable Django apps to take care of the
things that many sites have in common, it lets you focus on what
makes your site different.
{% endblocktrans %}
</p>
<h2>About Account Project</h2>
<p>
{% blocktrans %}
This project takes the zero_project and adds basic account management
functionality such as sign up, log in, password change/reset and email
confirmation. It is a foundation suitable for most sites that have user
accounts.
{% endblocktrans %}
</p>
{% if user.is_authenticated %}
{% url what_next as what_next_url %}
<p class="what_next">{% blocktrans %}Wondering <a href="{{ what_next_url }}" class="btn primary large">What Next</a>?{% endblocktrans %}</p>
{% else %}
{% url acct_login as login_url %}
{% ifsetting ACCOUNT_OPEN_SIGNUP %}
{% url acct_signup as signup_url %}
<p>{% blocktrans %}You can <a href="{{ login_url }}" class="btn">Log In</a> or <a href="{{ signup_url }}" class="btn primary">Sign Up</a> to try out the site.{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}You can <a href="{{ login_url }}" class="btn primary large">Log In</a> to try out the site.{% endblocktrans %}</p>
{% endifsetting %}
{% endif %}
{% endblock %}