Skip to content

Commit

Permalink
Merged revisions 26724 via svnmerge from
Browse files Browse the repository at this point in the history
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r26724 | kohsuke | 2010-01-29 12:03:11 -0800 (Fri, 29 Jan 2010) | 4 lines
  
  In tribute to Sun Microsystems and all my colleagues who had to go today.
  I hope the community would forgive me for doing this.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26728 71c3de6d-444a-0410-be80-ed276b4c234a
  • Loading branch information
kohsuke committed Jan 29, 2010
1 parent d814c09 commit 7e16024
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions core/src/main/java/hudson/Functions.java
Expand Up @@ -1152,6 +1152,14 @@ public static String getCrumbRequestField() {
public static Date getCurrentTime() {
return new Date();
}

/**
* In tribute to Sun Microsystems and all the people that were a part of it.
*/
public static String getBackgroundImage() {
// for one week.
return System.currentTimeMillis() < 1265443200000L ? "rip.jpg" : "hudson.png";
}

private static final Pattern SCHEME = Pattern.compile("[a-z]+://.+");

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/layout/layout.jelly
Expand Up @@ -207,7 +207,7 @@ THE SOFTWARE.
</tr>
</table>
<table id="main-table" width="100%" height="70%" border="0"
style="background-image: url(${imagesURL}/hudson.png);
style="background-image: url(${imagesURL}/${h.backgroundImage});
background-repeat: no-repeat; background-position: bottom left;">
<tr>
<td id="side-panel" width="20%">
Expand Down
Binary file added war/resources/images/rip.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7e16024

Please sign in to comment.