Bug#753989: tracker.debian.org: RSS Feed is missing
> Is it really important to include an RSS icon with an explicit link?
Yes it is important to add a visible link.
> Is there a better way to present this information?
We could simply have a text link in the links panel, but as we already
use icons for versions and bugs I'd stick to what we had.
Please review the attached patch,
Christophe
>From b18def766c51ecd3b0c09950665be006a47c3ecb Mon Sep 17 00:00:00 2001
From: Christophe Siraut <d@tobald.eu.org>
Date: Wed, 9 Jul 2014 18:05:07 +0200
Subject: [PATCH] Add a news feed icon
---
distro_tracker/core/templates/core/panels/news.html | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/distro_tracker/core/templates/core/panels/news.html b/distro_tracker/core/templates/core/panels/news.html
index 1dbea47..577ac83 100644
--- a/distro_tracker/core/templates/core/panels/news.html
+++ b/distro_tracker/core/templates/core/panels/news.html
@@ -1,5 +1,18 @@
{% extends 'core/panels/panel.html' %}
+{% block panel-header %}
+<div class="row-fluid">
+<div class="pull-left">
+ <span>{{ panel.title }}</span>
+</div>
+<div class="pull-right">
+ <a title="rss feed" href="{% url 'dtracker-package-rss-news-feed' package.name %}">
+ <i class="icon-rss"></i>
+ </a>
+</div>
+</div>
+{% endblock %}
+
{% block panel-body %}
<ul class="list-group list-group-flush">
<div class="scrollable">
--
1.7.10.4
Reply to: