From ee5bb998a90afdc08fe35f6624c515a9188f1f41 Mon Sep 17 00:00:00 2001 From: Björn Peemöller Date: Tue, 30 Oct 2012 14:32:54 +0100 Subject: [PATCH] Changed image links in css files to use relative urls --- app/assets/stylesheets/issue_tracker_icons.css.erb | 8 ++++---- app/assets/stylesheets/jquery.alerts.css | 10 +++++----- app/assets/stylesheets/notification_service_icons.css.erb | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/issue_tracker_icons.css.erb b/app/assets/stylesheets/issue_tracker_icons.css.erb index 1ca28db..8e1f9df 100644 --- a/app/assets/stylesheets/issue_tracker_icons.css.erb +++ b/app/assets/stylesheets/issue_tracker_icons.css.erb @@ -3,16 +3,16 @@ <% trackers.each do |tracker| %> div.issue_tracker.nested label.<%= tracker %> { - background: url(/assets/<%= tracker %>_inactive.png) no-repeat; + background: url(<%= tracker %>_inactive.png) no-repeat; } div.issue_tracker.nested label.r_on.<%= tracker %> { - background: url(/assets/<%= tracker %>_create.png) no-repeat; + background: url(<%= tracker %>_create.png) no-repeat; } #action-bar a.<%= tracker %>_create { - background: transparent url(/assets/<%= tracker %>_create.png) 6px 5px no-repeat; + background: transparent url(<%= tracker %>_create.png) 6px 5px no-repeat; } #action-bar a.<%= tracker %>_goto { - background: transparent url(/assets/<%= tracker %>_goto.png) 6px 5px no-repeat; + background: transparent url(<%= tracker %>_goto.png) 6px 5px no-repeat; } <% end %> diff --git a/app/assets/stylesheets/jquery.alerts.css b/app/assets/stylesheets/jquery.alerts.css index 7cf65fa..8c133a3 100644 --- a/app/assets/stylesheets/jquery.alerts.css +++ b/app/assets/stylesheets/jquery.alerts.css @@ -17,7 +17,7 @@ text-align: center; line-height: 1.75em; color: #666; - background: #CCC url(/images/alerts/title.gif) top repeat-x; + background: #CCC url(alerts/title.gif) top repeat-x; border: solid 1px #FFF; border-bottom: solid 1px #999; cursor: default; @@ -26,21 +26,21 @@ } #popup_content { - background: 16px 16px no-repeat url(/images/alerts/info.gif); + background: 16px 16px no-repeat url(alerts/info.gif); padding: 1em 1.75em; margin: 0em; } #popup_content.alert { - background-image: url(/images/alerts/info.gif); + background-image: url(alerts/info.gif); } #popup_content.confirm { - background-image: url(/images/alerts/important.gif); + background-image: url(alerts/important.gif); } #popup_content.prompt { - background-image: url(/images/alerts/help.gif); + background-image: url(alerts/help.gif); } #popup_message { diff --git a/app/assets/stylesheets/notification_service_icons.css.erb b/app/assets/stylesheets/notification_service_icons.css.erb index 321dbb3..b6d77a6 100644 --- a/app/assets/stylesheets/notification_service_icons.css.erb +++ b/app/assets/stylesheets/notification_service_icons.css.erb @@ -3,16 +3,16 @@ <% notification_services.each do |notification_service| %> div.notification_service.nested label.<%= notification_service %> { - background: url(/assets/<%= notification_service %>_inactive.png) no-repeat; + background: url(<%= notification_service %>_inactive.png) no-repeat; } div.notification_service.nested label.r_on.<%= notification_service %> { - background: url(/assets/<%= notification_service %>_create.png) no-repeat; + background: url(<%= notification_service %>_create.png) no-repeat; } #action-bar a.<%= notification_service %>_create { - background: transparent url(/assets/<%= notification_service %>_create.png) 6px 5px no-repeat; + background: transparent url(<%= notification_service %>_create.png) 6px 5px no-repeat; } #action-bar a.<%= notification_service %>_goto { - background: transparent url(/assets/<%= notification_service %>_goto.png) 6px 5px no-repeat; + background: transparent url(<%= notification_service %>_goto.png) 6px 5px no-repeat; } <% end %> -- libgit2 0.21.2