Skip to content

Commit

Permalink
Merge pull request #119 from jenkinsci/timja-patch-1
Browse files Browse the repository at this point in the history
Move user header to appearance user page when available
  • Loading branch information
mawinter69 authored Jun 9, 2024
2 parents 09524ad + d90ff9f commit 91250ee
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,16 @@ public boolean isEnabled() {
public String getDisplayName() {
return "Customizable Header";
}

// @Override
// public @NonNull UserPropertyCategory getUserPropertyCategory() {
// return UserPropertyCategory.get(UserPropertyCategory.Appearance.class);
// }

// replace with above method when bumping core to version including:
// https://github.com/jenkinsci/jenkins/pull/7268
public @CheckForNull String getUserPropertyCategoryAsString() {
return "appearance";

Check warning on line 124 in src/main/java/io/jenkins/plugins/customizable_header/UserHeader.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 124 is not covered by tests
}
}
}

0 comments on commit 91250ee

Please sign in to comment.