提交 7e160241 编写于 作者: K kohsuke

Merged revisions 26724 via svnmerge from

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
上级 d814c09e
......@@ -1152,6 +1152,14 @@ public class Functions {
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]+://.+");
......
......@@ -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%">
......
此差异由.gitattributes 抑制。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册