mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-08 18:26:30 +00:00
Fix issue #1299 - Prompt upon issue open of custom field is misleading
This commit is contained in:
parent
8ef92fc0c5
commit
3bf0a13a21
@ -120,7 +120,8 @@ public abstract class FieldSpec extends InputSpec {
|
||||
return (boolean) EditContext.get().getInputValue("allowEmpty");
|
||||
}
|
||||
|
||||
@Editable(order=10000, description="Whether or not to prompt this field upon issue open")
|
||||
@Editable(order=10000, name="Include When Issue is Opened", description="Whether or not to include this field when issue is initially opened. " +
|
||||
"If not, you may include this field later when issue is transited to other states via issue transition rule")
|
||||
public boolean isPromptUponIssueOpen() {
|
||||
return promptUponIssueOpen;
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@ import io.onedev.server.annotation.IssueQuery;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Editable(order=100, name="Button is pressed")
|
||||
@Editable(order=100, name="Manually", description = "Press button (or drag&drop in boards)")
|
||||
public class PressButtonTrigger extends TransitionTrigger {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user