Permalink
Browse files

Refer to .png Plone images in css instead of .gif

  • Loading branch information...
1 parent 8e7ef8e commit 48f5b79d49e3582d785336f29f3ea1f5261277b9 @tdesvenain tdesvenain committed Jan 27, 2014
View
1 .gitignore
@@ -1,6 +1,7 @@
*.egg-info
*.pyc
*.pyo
+*.mo
.installed.cfg
.mr.developer.cfg
.project
View
3 CHANGES.rst
@@ -5,6 +5,9 @@ Changelog for Poi
2.2.7 (unreleased)
------------------
+- Refer to .png Plone images in css instead of .gif.
+ [thomasdesvenain]
+
- When we go to search form, current filters are pre-selected.
[thomasdesvenain]
View
5 Products/Poi/migration.py
@@ -231,3 +231,8 @@ def migrate_tracker_watchers(context):
tracker.absolute_url(), old_value)
tracker.setWatchers(old_value)
del mapping['watchers']
+
+
+def recook_resources(context):
+ context.portal_javascripts.cookResources()
+ context.portal_css.cookResources()
View
9 Products/Poi/profiles.zcml
@@ -119,4 +119,13 @@
handler="Products.Poi.migration.run_workflow_step"
profile="Products.Poi:default" />
+ <gs:upgradeStep
+ title="Recook javascript"
+ description="Recook javascript"
+ source="2006"
+ destination="2007"
+ handler="Products.Poi.migration.recook_resources"
+ profile="Products.Poi:default" />
+
+
</configure>
View
2 Products/Poi/profiles/default/metadata.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<metadata>
- <version>2006</version>
+ <version>2007</version>
<dependencies>
<dependency>profile-Products.AddRemoveWidget:default</dependency>
<dependency>profile-Products.DataGridField:default</dependency>
View
16 Products/Poi/skins/Poi/poi.css.dtml
@@ -1,4 +1,4 @@
-/*
+/*
** Poi style sheet for CSS2-capable browsers.
**
** Copyright Martin Aspeli - optilude@gmx.net
@@ -13,8 +13,8 @@
/* Tracker front page */
.issue-quick-search-box {
- width: 30%;
- float: left;
+ width: 30%;
+ float: left;
padding: 0 1em 1em 0;
}
@@ -25,7 +25,7 @@
#issue-search-link {
display: block;
- background: &dtml-backgroundColor; url(&dtml-portal_url;/search_icon.gif) 2px 1px no-repeat;
+ background: &dtml-backgroundColor; url(&dtml-portal_url;/search_icon.png) 2px 1px no-repeat;
padding: 1px 1px 1px 18px;
}
@@ -36,7 +36,7 @@
#poi-watch-tracker-form {
display: inline;
-}
+}
/* Search table */
@@ -51,13 +51,13 @@
}
#poi_advanced_search {
- background: White url(&dtml-portal_url;/search_icon.gif) no-repeat scroll 2px 1px;
+ background: White url(&dtml-portal_url;/search_icon.png) no-repeat scroll 2px 1px;
}
/* Issue display */
.return-to-search {
- background: transparent url(&dtml-portal_url;/arrowUp.gif) 4px 5px no-repeat;
+ background: transparent url(&dtml-portal_url;/arrowUp.png) 4px 5px no-repeat;
padding: 1px 0px 5px 16px;
font-size: &dtml-fontSmallSize;;
text-decoration: none;
@@ -173,7 +173,7 @@ ul.issue-tags-tags a {
margin: 1em 0;
padding: 0.5em;
border: &dtml-borderWidth; &dtml-borderStyleAnnotations; &dtml-contentViewBorderColor;;
- clear: both;
+ clear: both;
}
/* Response details */

0 comments on commit 48f5b79

Please sign in to comment.