Merge remote branch 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit'
[mediagoblin.git] / mediagoblin / templates / mediagoblin / root.html
CommitLineData
87b44d61
WKG
1{#
2# GNU MediaGoblin -- federated, autonomous media hosting
3# Copyright (C) 2011 Free Software Foundation, Inc
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
20{% block mediagoblin_content %}
881b6e2c 21 <h1>{% trans %}Welcome to GNU MediaGoblin!{% endtrans %}</h1>
87b44d61
WKG
22
23 {% if request.user %}
b9f097a6
CAW
24 <p>
25 <a href="{{ request.urlgen('mediagoblin.submit.start') }}">Submit an item</a>
b9f097a6 26 </p>
87b44d61 27 {% else %}
b9f097a6
CAW
28 <p>
29 If you have an account, you can
30 <a href="{{ request.urlgen('mediagoblin.auth.login') }}">Login</a>.
31 </p>
32 <p>
33 If you don't have an account, please
34 <a href="{{ request.urlgen('mediagoblin.auth.register') }}">Register</a>.
35 </p>
87b44d61 36 {% endif %}
4c1e752a
CAW
37
38 {# temporarily, an "image gallery" that isn't one really ;) #}
39
8bfc87e1 40 {% include "mediagoblin/utils/object_gallery.html" %}
ae85ed0f 41{% endblock %}