From 73e276fbc2ca57aea798ccb044787d613626cb23 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Tue, 22 Mar 2011 21:22:31 -0500
Subject: Add alias to developer clocks page
Signed-off-by: Dan McGee
---
templates/devel/clock.html | 2 ++
1 file changed, 2 insertions(+)
(limited to 'templates/devel')
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index 03d0e9ca..ab1d9b9f 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -19,6 +19,7 @@
Developer |
Username |
+ Alias |
Location |
Time Zone |
Current Time |
@@ -29,6 +30,7 @@
{{ dev.get_full_name }} |
{{ dev.username }} |
+ {{ dev.userprofile.alias }} |
{{ dev.userprofile.location }} |
{{ dev.userprofile.time_zone }} |
{{ dev.current_time|date:"Y-m-d H:i T" }} |
--
cgit v1.2.3-2-g168b
From 9360a84d7697d9a49e6f91965dc180c0085c6b56 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Tue, 22 Mar 2011 21:24:08 -0500
Subject: Urlize todo list descriptions on dashboard
Signed-off-by: Dan McGee
---
templates/devel/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates/devel')
diff --git a/templates/devel/index.html b/templates/devel/index.html
index f4a81102..0505ff14 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -81,7 +81,7 @@
{{ todo.name }} |
{{ todo.date_added|date }} |
- {{ todo.description|safe }} |
+ {{ todo.description|urlize }} |
{% empty %}
No package todo lists to display |
--
cgit v1.2.3-2-g168b
From e8bbf9b35660c89718a35e173548d2abb4b654f8 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Tue, 22 Mar 2011 21:37:28 -0500
Subject: Simplify the dev dashboard
Remove all the click to expand junk; just show the tables all the time.
There is no form at the bottom of the page anymore, so if you don't want
to read the tables on the bottom, just don't read them.
Signed-off-by: Dan McGee
---
templates/devel/clock.html | 2 +-
templates/devel/index.html | 29 ++++++++++-------------------
2 files changed, 11 insertions(+), 20 deletions(-)
(limited to 'templates/devel')
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index ab1d9b9f..0f0e20c5 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -14,7 +14,7 @@
UTC Time: {{ utc_now|date:"Y-m-d H:i T" }}
-
+
Developer |
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 0505ff14..af2e5d28 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -8,7 +8,7 @@
My Flagged Packages
-
+
Name |
@@ -38,7 +38,7 @@
My Incomplete Todo List Packages
-
+
Todo List |
@@ -67,7 +67,7 @@
Package Todo Lists
-
+
Name |
@@ -91,11 +91,9 @@
-
+
-
- Stats by Architecture (click to toggle)
+
Stats by Architecture
@@ -122,11 +120,9 @@
-
+
-
- Stats by Repository (click to toggle)
+
Stats by Repository
@@ -153,11 +149,9 @@
-
+
-
- Stats by Maintainer (click to toggle)
+
Stats by Maintainer
@@ -203,12 +197,9 @@ $(document).ready(function() {
{widgets: ['zebra'], sortList: [[0,0], [1,0]]});
$("#dash-todo:not(:has(tbody tr.empty))").tablesorter(
{widgets: ['zebra'], sortList: [[1,1]]});
- $("#stats-by-arch").add("#stats-by-repo").add("#stats-by-maintainer").tablesorter(
+ $(".dash-stats").tablesorter(
{widgets: ['zebra'], sortList: [[0,0]],
headers: { 1: { sorter: 'pkgcount' }, 2: { sorter: 'pkgcount' } } });
- $("h3.dash-stats").click(
- function(e) { $(this).next().toggle(); }
- );
});
{% endblock %}
--
cgit v1.2.3-2-g168b