From 0ac697631bc9efd1da84e1b12888dfb63fc949f7 Mon Sep 17 00:00:00 2001
From: Ben Sturmfels <ben@sturm.com.au>
Date: Tue, 4 Aug 2015 14:19:09 +1000
Subject: [PATCH] Add "Add media" button on home page when no media is present.
This is an addition to the button hidden in the top toolbar.
---
mediagoblin/templates/mediagoblin/utils/object_gallery.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/mediagoblin/templates/mediagoblin/utils/object_gallery.html b/mediagoblin/templates/mediagoblin/utils/object_gallery.html
index 1b4a15e..1f05eed 100644
a
|
b
|
|
72 | 72 | {%- endtrans -%} |
73 | 73 | </i> |
74 | 74 | </p> |
| 75 | <p> |
| 76 | <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}"> |
| 77 | {%- trans %}Add media{% endtrans -%} |
| 78 | </a> |
| 79 | </p> |
75 | 80 | {% endif %} |
76 | 81 | {% endmacro %} |