Highlight dependencies to abandoned changes by red background
On the change screen dependencies to outdated patch sets are highlighted by a red background because they prevent the change from being merged. The same is true if a change depends on an abandoned change. This is why dependencies to abandoned changes should be highlighted by a red background as well. Change-Id: I5e81b08b1d41aa3b097b5f76293e62b0e6270b4a Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
		@@ -209,6 +209,8 @@ public class ChangeTable extends NavigationTable<ChangeInfo> {
 | 
			
		||||
    if (! c.isLatest()) {
 | 
			
		||||
      s += " [OUTDATED]";
 | 
			
		||||
      table.getRowFormatter().addStyleName(row, Gerrit.RESOURCES.css().outdated());
 | 
			
		||||
    } else if (Change.Status.ABANDONED.equals(c.getStatus())) {
 | 
			
		||||
      table.getRowFormatter().addStyleName(row, Gerrit.RESOURCES.css().outdated());
 | 
			
		||||
    } else {
 | 
			
		||||
      table.getRowFormatter().removeStyleName(row, Gerrit.RESOURCES.css().outdated());
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user