diff --git a/mediagoblin_libreplanet/__init__.py b/mediagoblin_libreplanet/__init__.py index 7f047ca..1914caa 100644 --- a/mediagoblin_libreplanet/__init__.py +++ b/mediagoblin_libreplanet/__init__.py @@ -111,6 +111,7 @@ hooks = { } register_template_hooks( - {'header_extra': "libreplanet/join.html"} + {'header_left': "libreplanet/banner.html", + 'header_extra': "libreplanet/join.html"} ) diff --git a/mediagoblin_libreplanet/templates/libreplanet/banner.html b/mediagoblin_libreplanet/templates/libreplanet/banner.html new file mode 100644 index 0000000..46bbe24 --- /dev/null +++ b/mediagoblin_libreplanet/templates/libreplanet/banner.html @@ -0,0 +1,29 @@ +{# +# MediaGoblin for LibrePlanet +# Copyright (C) 2017 Andrew Engelbrecht +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +#} + +
+ +
+ +{# for spacing below the banner + also update the join.html template file when adding/removing/changing + the spacing of this div. + -- sudoman 2017-03-09 +#} +
+ diff --git a/mediagoblin_libreplanet/templates/libreplanet/join.html b/mediagoblin_libreplanet/templates/libreplanet/join.html index 6d6d4cf..61a9ee1 100644 --- a/mediagoblin_libreplanet/templates/libreplanet/join.html +++ b/mediagoblin_libreplanet/templates/libreplanet/join.html @@ -16,6 +16,9 @@ # along with this program. If not, see . #} +{# for spacing below the banner; see banner.html template. -- sudoman 2017-03-09 #} +
+ Join now