aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-02-20 14:59:57 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-02-20 15:02:22 +0000
commitb0def9001247c2f895f650c65f7490c9349808f9 (patch)
tree04e0434711d709eb011fdcc258371e9054657956
parentc980c32095e9e009556936514ef83903858b1e6f (diff)
New icons for upstreaming and closing-out
New icons were added to represent upstream development and closing review. Minor bug fixed in logging (removing non-ascii characters from the log). CSS fixed to replace engineering with development for consistency. Change-Id: Ib0b67067be08d582a460adc971d5c57399b98fbe Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--roadmap/helpers.py4
-rw-r--r--roadmap/static/css/roadmap.css10
-rw-r--r--roadmap/static/img/ClosingOut32.pngbin0 -> 1151 bytes
-rw-r--r--roadmap/static/img/UpstreamDevelopment32.pngbin0 -> 1402 bytes
4 files changed, 10 insertions, 4 deletions
diff --git a/roadmap/helpers.py b/roadmap/helpers.py
index 97f5d3a..9183727 100644
--- a/roadmap/helpers.py
+++ b/roadmap/helpers.py
@@ -16,6 +16,7 @@
# along with roadmap. If not, see <http://www.gnu.org/licenses/>.
import logging
+import string
from django.conf import settings
from django.db.models import ManyToManyField
@@ -305,7 +306,8 @@ def create_or_update(issue, options, jira=None):
log.info("Saving card {0}".format(issue.key))
card.save()
- log.debug("Saved {0} - {1}".format(issue.key, summary))
+ log.debug("Saved {0} - {1}".format(issue.key,
+ filter(lambda x: x in string.printable, summary)))
return card
diff --git a/roadmap/static/css/roadmap.css b/roadmap/static/css/roadmap.css
index 9eaaed5..68d4819 100644
--- a/roadmap/static/css/roadmap.css
+++ b/roadmap/static/css/roadmap.css
@@ -65,12 +65,16 @@ li.planning {
background-image:url('/static/img/AdvPlan32.png');
}
-li.engineering {
+li.development {
background-image:url('/static/img/Development32.png');
}
+li.upstream-development {
+ background-image:url('/static/img/UpstreamDevelopment32.png');
+}
+
li.closing-review {
- background-image:url('/static/img/Development32.png');
+ background-image:url('/static/img/ClosingOut32.png');
}
li.closed {
@@ -94,7 +98,7 @@ div.timeline-event-dot.development {
}
div.timeline-event-dot.closing-review {
- background-image:url('/static/img/Development32.png');
+ background-image:url('/static/img/ClosingOut32.png');
}
div.timeline-event-dot.closed {
diff --git a/roadmap/static/img/ClosingOut32.png b/roadmap/static/img/ClosingOut32.png
new file mode 100644
index 0000000..fa6175e
--- /dev/null
+++ b/roadmap/static/img/ClosingOut32.png
Binary files differ
diff --git a/roadmap/static/img/UpstreamDevelopment32.png b/roadmap/static/img/UpstreamDevelopment32.png
new file mode 100644
index 0000000..415ea91
--- /dev/null
+++ b/roadmap/static/img/UpstreamDevelopment32.png
Binary files differ