Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffInline.js
Show First 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | updateObjective: function() { | ||||
} else if (this._isGhost) { | } else if (this._isGhost) { | ||||
icon = 'fa-comment-o'; | icon = 'fa-comment-o'; | ||||
color = 'grey'; | color = 'grey'; | ||||
} else if (this._replyToCommentPHID) { | } else if (this._replyToCommentPHID) { | ||||
icon = 'fa-reply'; | icon = 'fa-reply'; | ||||
should_stack = true; | should_stack = true; | ||||
} | } | ||||
if (changeset.getChangesetList().getSelectedInline() === this) { | |||||
// TODO: Maybe add some other kind of effect here, since we're only | |||||
// using color to show this? | |||||
color = 'yellow'; | |||||
} | |||||
objective | objective | ||||
.setAnchor(anchor) | .setAnchor(anchor) | ||||
.setIcon(icon) | .setIcon(icon) | ||||
.setColor(color) | .setColor(color) | ||||
.setTooltip(tooltip) | .setTooltip(tooltip) | ||||
.setShouldStack(should_stack) | .setShouldStack(should_stack) | ||||
.show(); | .show(); | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 528 Lines • Show Last 20 Lines |