Commits

Anonymous committed e6e353d

[svn r5699] Added separate icons (grey and yellow balls) for aborted and unstable builds.
Also trimmed down the icons a bit and made backgrounds transparent, for better
display.

This closes #5205.

Comments (0)

Files changed (6)

0.10/HudsonTrac/HudsonTracPlugin.py

                 if entry.title.find('SUCCESS') >= 0:
                     message = 'Build finished successfully'
                     kind = 'build-successful'
+                elif entry.title.find('UNSTABLE') >= 0:
+                    message = 'Build unstable'
+                    kind = 'build-unstable'
+                elif entry.title.find('ABORTED') >= 0:
+                    message = 'Build aborted'
+                    kind = 'build-aborted'
                 else:
                     message = 'Build failed'
                     kind = 'build-failed'

0.10/HudsonTrac/htdocs/aborted.gif

Added
New image

0.10/HudsonTrac/htdocs/failed.gif

Old
Old image
New
New image

0.10/HudsonTrac/htdocs/hudsontrac.css

-dt.build-successful, dt.build-successful a { background-image: url(success.gif) !important }
-dt.build-failed, dt.build-failed a { background-image: url(failed.gif) !important }
+dt.build-successful a { background-image: url(success.gif)  !important }
+dt.build-failed a     { background-image: url(failed.gif)   !important }
+dt.build-aborted a    { background-image: url(aborted.gif)  !important }
+dt.build-unstable a   { background-image: url(unstable.gif) !important }

0.10/HudsonTrac/htdocs/success.gif

Old
Old image
New
New image

0.10/HudsonTrac/htdocs/unstable.gif

Added
New image