Merge "Highlight patch sets that have drafts"
This commit is contained in:
@@ -176,6 +176,7 @@ public interface GerritCss extends CssResource {
|
||||
String patchSetLink();
|
||||
String patchSetRevision();
|
||||
String patchSetUserIdentity();
|
||||
String patchSetWithDraft();
|
||||
String patchSizeCell();
|
||||
String pluginsTable();
|
||||
String posscore();
|
||||
|
||||
@@ -110,6 +110,11 @@ class PatchSetComplexDisclosurePanel extends ComplexDisclosurePanel
|
||||
} else {
|
||||
addOpenHandler(this);
|
||||
}
|
||||
|
||||
if(ps.getHasDraftComments()) {
|
||||
addStyleName(Gerrit.RESOURCES.css().patchSetWithDraft());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setDiffBaseId(PatchSet.Id diffBaseId) {
|
||||
|
||||
@@ -872,6 +872,10 @@ a:hover {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
.patchSetWithDraft .header td {
|
||||
color: #ff5555;
|
||||
}
|
||||
|
||||
.changeScreen .gwt-DisclosurePanel .content {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user