From c9fe89a49920bae7307e8691c8ac1a578681b48f Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Sat, 20 Aug 2011 20:54:41 +0200 Subject: New layout for root.html --- mediagoblin/templates/mediagoblin/root.html | 41 +++++++++++++++-------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'mediagoblin/templates') diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html index 06beb436..764609b6 100644 --- a/mediagoblin/templates/mediagoblin/root.html +++ b/mediagoblin/templates/mediagoblin/root.html @@ -20,28 +20,29 @@ {% from "mediagoblin/utils/object_gallery.html" import object_gallery %} {% block mediagoblin_content %} -

{% trans %}Welcome to GNU MediaGoblin!{% endtrans %}

- {% if request.user %} -

- - {%- trans %}Submit an item{% endtrans -%} - -

+

Explore

{% else %} -

- {% trans login_url=request.urlgen('mediagoblin.auth.login') -%} - If you have an account, you can Login. - {%- endtrans %} -

- {% if allow_registration %} -

- {% trans register_url=request.urlgen('mediagoblin.auth.register') -%} - If you don't have an account, please Register. - {%- endtrans %} -

- {% endif %} +
+

{% trans %}Hi there, media lover! MediaGoblin is...{% endtrans %}

+ + {% if allow_registration %} +

Excited to join us? To add your own media, make collections and save favorites...

+ Create a free account or + Set up MediaGoblin on your own server + {% endif %} +

+
+ +
+
{% endif %} - +

Most recent media

{{ object_gallery(request, media_entries, pagination) }} {% endblock %} -- cgit v1.2.3