[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758502: tracker.debian.org: Add data from duck.debian.net to "action needed" panel



Package: tracker.debian.org
Severity: wishlist
Tags: patch

Hello,

this adds support for data from duck.debian.net.

Please see the attached patch.



-- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From a0a3810608a306ab77eee214a9be0854e39e3367 Mon Sep 17 00:00:00 2001
From: Simon Kainz <simon@familiekainz.at>
Date: Mon, 18 Aug 2014 10:42:28 +0200
Subject: [PATCH 1/2]  add new template for duck extra info.

---
 .../vendor/debian/templates/debian/duck-action-item.html          | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 distro_tracker/vendor/debian/templates/debian/duck-action-item.html

diff --git a/distro_tracker/vendor/debian/templates/debian/duck-action-item.html b/distro_tracker/vendor/debian/templates/debian/duck-action-item.html
new file mode 100644
index 0000000..851310c
--- /dev/null
+++ b/distro_tracker/vendor/debian/templates/debian/duck-action-item.html
@@ -0,0 +1,8 @@
+{% with duck = item.extra_data.duck_link %}
+{% with issues = item.extra_data.issues_link %}
+<a href="{{ duck }}">DUCK</a> reports some <a href="{{ issues }}">issues</a> concerning upstream URLs defined for this package.
+{% endwith %}
+{% endwith %}
+
+
+
-- 
2.0.1

>From a0a3810608a306ab77eee214a9be0854e39e3367 Mon Sep 17 00:00:00 2001
From: Simon Kainz <simon@familiekainz.at>
Date: Mon, 18 Aug 2014 10:42:28 +0200
Subject: [PATCH 1/2]  add new template for duck extra info.

---
 .../vendor/debian/templates/debian/duck-action-item.html          | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 distro_tracker/vendor/debian/templates/debian/duck-action-item.html

diff --git a/distro_tracker/vendor/debian/templates/debian/duck-action-item.html b/distro_tracker/vendor/debian/templates/debian/duck-action-item.html
new file mode 100644
index 0000000..851310c
--- /dev/null
+++ b/distro_tracker/vendor/debian/templates/debian/duck-action-item.html
@@ -0,0 +1,8 @@
+{% with duck = item.extra_data.duck_link %}
+{% with issues = item.extra_data.issues_link %}
+<a href="{{ duck }}">DUCK</a> reports some <a href="{{ issues }}">issues</a> concerning upstream URLs defined for this package.
+{% endwith %}
+{% endwith %}
+
+
+
-- 
2.0.1

Attachment: duck_patches.tgz
Description: GNU Zip compressed data


Reply to: