#403: updated build list status color
This commit is contained in:
parent
e986cc6f4f
commit
ad708c7ced
|
@ -50,6 +50,7 @@ var BuildList = function(atts, dictionary) {
|
|||
case <%=BuildList::BUILD_ERROR%>:
|
||||
case <%=BuildList::FAILED_PUBLISH%>:
|
||||
case <%=BuildList::FAILED_PUBLISH_INTO_TESTING%>:
|
||||
case <%=BuildList::PACKAGES_FAIL%>:
|
||||
case <%=BuildList::REJECTED_PUBLISH%>: self.status_color = 'error'; break
|
||||
case <%=BuildList::TESTS_FAILED%>: self.status_color = 'warning'; break
|
||||
default: self.status_color = 'nocolor';
|
||||
|
|
|
@ -5,7 +5,7 @@ module BuildListsHelper
|
|||
case status
|
||||
when BuildList::BUILD_PUBLISHED, BuildList::SUCCESS, BuildList::BUILD_PUBLISHED_INTO_TESTING
|
||||
'success'
|
||||
when BuildList::BUILD_ERROR, BuildList::FAILED_PUBLISH, BuildList::REJECTED_PUBLISH, BuildList::FAILED_PUBLISH_INTO_TESTING
|
||||
when BuildList::BUILD_ERROR, BuildList::FAILED_PUBLISH, BuildList::REJECTED_PUBLISH, BuildList::FAILED_PUBLISH_INTO_TESTING, BuildList::PACKAGES_FAIL
|
||||
'error'
|
||||
when BuildList::TESTS_FAILED
|
||||
'warning'
|
||||
|
|
Loading…
Reference in New Issue