2 # GNU MediaGoblin -- federated, autonomous media hosting
3 # Copyright (C) 2011 Free Software Foundation, Inc
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.
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.
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/>.
18 {% extends "mediagoblin/base.html" %}
20 {% block mediagoblin_content %}
22 <h1>{% trans %}Welcome to GNU MediaGoblin!{% endtrans %}</h1>
26 <a href="{{ request.urlgen('mediagoblin.submit.start') }}">Submit an item</a>.
31 If you have an account, you can
32 <a href="{{ request.urlgen('mediagoblin.auth.login') }}">Login</a>.
35 If you don't have an account, please
36 <a href="{{ request.urlgen('mediagoblin.auth.register') }}">Register</a>.
41 {# temporarily, an "image gallery" that isn't one really ;) #}
45 {% for entry in media_entries %}
47 <a href="{{ request.urlgen('mediagoblin.user_pages.media_home',
48 user= entry.uploader.username, m_id= entry._id) }}">
49 <img src="{{ request.app.public_store.file_url(
50 entry['media_files']['thumb']) }}" /></a>