Replace icon_feed.png with proper Airy version
authorJef van Schendel <mail@jefvanschendel.nl>
Sat, 20 Oct 2012 16:09:45 +0000 (18:09 +0200)
committerJef van Schendel <mail@jefvanschendel.nl>
Sat, 20 Oct 2012 16:09:45 +0000 (18:09 +0200)
mediagoblin/themes/airy/assets/images/icon_feed.png [new file with mode: 0644]
mediagoblin/themes/airy/templates/mediagoblin/utils/feed_link.html [new file with mode: 0644]

diff --git a/mediagoblin/themes/airy/assets/images/icon_feed.png b/mediagoblin/themes/airy/assets/images/icon_feed.png
new file mode 100644 (file)
index 0000000..18c085b
Binary files /dev/null and b/mediagoblin/themes/airy/assets/images/icon_feed.png differ
diff --git a/mediagoblin/themes/airy/templates/mediagoblin/utils/feed_link.html b/mediagoblin/themes/airy/templates/mediagoblin/utils/feed_link.html
new file mode 100644 (file)
index 0000000..6a41cef
--- /dev/null
@@ -0,0 +1,23 @@
+{#
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011, 2012 MediaGoblin contributors.  See AUTHORS.
+#
+# 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 <http://www.gnu.org/licenses/>.
+#}
+
+<a href="{{ feed_url }}">
+  <img src="{{ request.staticdirect('/images/icon_feed.png') }}"
+       class="media_icon" alt="{% trans %}feed icon{% endtrans %}" />
+</a>
+<a href="{{ feed_url }}">{%- trans %}Atom feed{% endtrans -%}</a>