diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2015-08-04 14:19:09 +1000 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-12-10 11:33:10 -0600 |
commit | e61dea3b0543650aa157faad08afcc36ba90a298 (patch) | |
tree | c46e9e72b3b9ca23ef9afb1f4f4f061cf73fb791 | |
parent | 600a170ecf208f3ae67cc16369d50c1d6e0a7dce (diff) | |
download | mediagoblin-e61dea3b0543650aa157faad08afcc36ba90a298.tar.lz mediagoblin-e61dea3b0543650aa157faad08afcc36ba90a298.tar.xz mediagoblin-e61dea3b0543650aa157faad08afcc36ba90a298.zip |
Add "Add media" button on home page when no media is present.
This is an addition to the button hidden in the top toolbar.
-rw-r--r-- | mediagoblin/templates/mediagoblin/utils/object_gallery.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/object_gallery.html b/mediagoblin/templates/mediagoblin/utils/object_gallery.html index 1b4a15ed..1f05eed2 100644 --- a/mediagoblin/templates/mediagoblin/utils/object_gallery.html +++ b/mediagoblin/templates/mediagoblin/utils/object_gallery.html @@ -72,5 +72,10 @@ {%- endtrans -%} </i> </p> + <p> + <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}"> + {%- trans %}Add media{% endtrans -%} + </a> + </p> {% endif %} {% endmacro %} |