Merge remote branch 'remotes/elrond/idea/use_media_url_for_self'
[mediagoblin.git] / mediagoblin / templates / mediagoblin / root.html
CommitLineData
87b44d61
WKG
1{#
2# GNU MediaGoblin -- federated, autonomous media hosting
12a100e4 3# Copyright (C) 2011 MediaGoblin contributors. See AUTHORS.
87b44d61
WKG
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#}
18{% extends "mediagoblin/base.html" %}
19
38bf03c6
CAW
20{% from "mediagoblin/utils/object_gallery.html" import object_gallery %}
21
87b44d61 22{% block mediagoblin_content %}
87b44d61 23 {% if request.user %}
c9fe89a4 24 <h1>Explore</h1>
87b44d61 25 {% else %}
c9fe89a4
JS
26 <div class="grid_11 alpha">
27 <h1>{% trans %}Hi there, media lover! MediaGoblin is...{% endtrans %}</h1>
28 <ul>
a01afc9a
CAW
29 <li>{% trans %}The perfect place for your media!{% endtrans %}</li>
30 <li>{% trans %}A place for people to collaborate and show off original and derived creations!{% endtrans %}</li>
58d97415 31 <li>{% trans %}Free, as in freedom. (We’re a <a href="http://gnu.org">GNU</a> project, after all.){% endtrans %}</li>
a01afc9a
CAW
32 <li>{% trans %}Aiming to make the world a better place through decentralization and (eventually, coming soon!) federation!{% endtrans %}</li>
33 <li>{% trans %}Built for extensibility. (Multiple media types coming soon to the software, including video support!){% endtrans %}</li>
34 <li>{% trans %}Powered by people like you. (<a href="http://mediagoblin.org/pages/join.html">You can help us improve this software!</a>){% endtrans %}</li>
c9fe89a4 35 </ul>
a01afc9a 36
c9fe89a4 37 {% if allow_registration %}
d9d1d50b 38 <p>Excited to join us?<p>
c9fe89a4
JS
39 <a class="header_submit_highlight" href="{{ request.urlgen('mediagoblin.auth.register') }}">Create a free account</a> or
40 <a class="header_submit" href="http://wiki.mediagoblin.org/HackingHowto">Set up MediaGoblin on your own server</a>
41 {% endif %}
42 </div>
a01afc9a 43
c9fe89a4
JS
44 <div class="grid_5 omega">
45 <img src="{{ request.staticdirect('/images/frontpage_image.png') }}" />
46 </div>
a01afc9a 47
c9fe89a4 48 <div class="clear"></div>
87b44d61 49 {% endif %}
c9fe89a4 50 <h2>Most recent media</h2>
38bf03c6 51 {{ object_gallery(request, media_entries, pagination) }}
ae85ed0f 52{% endblock %}