Skip to content

Commit

Permalink
Merge pull request #417 from janfaracik/simplify-names
Browse files Browse the repository at this point in the history
Simplify Manage Jenkins items naming + change icons
  • Loading branch information
jtnord authored Apr 28, 2023
2 parents 4eaaca1 + fee71af commit 1f71105
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public String getCredentialsPage() {
* @since 1.25
*/
public String getIconClassName() {
return "symbol-key";
return "symbol-credentials plugin-credentials";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public String iconClassName() {
if (c != null) {
return c.getDescriptor().getIconClassName();
}
return "symbol-key";
return "symbol-credentials plugin-credentials";
}

public String url() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ public String getDisplayName() {
*/
@Override
public String getIconClassName() {
return "symbol-key";
return "symbol-credentials plugin-credentials";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public boolean isVisible() {
@Override
public String getIconClassName() {
return isVisible()
? "symbol-key"
? "symbol-credentials plugin-credentials"
: null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class GlobalCredentialsConfiguration extends ManagementLink
public String getIconFileName() {
return ExtensionList.lookup(CredentialsDescriptor.class).isEmpty()
? null
: "symbol-key";
: "symbol-credential-providers plugin-credentials";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getCategoryName() {

@Override
public String getIconFileName() {
return "symbol-key";
return "symbol-credentials plugin-credentials";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public ModelObject getContext() {
@Override
public String getIconFileName() {
return isVisible()
? "symbol-key"
? "symbol-credentials plugin-credentials"
: null;
}

Expand Down Expand Up @@ -295,7 +295,7 @@ public List<TableEntry> getTableEntries() {
@Override
public String getIconClassName() {
return isVisible()
? "symbol-key"
? "symbol-credentials plugin-credentials"
: null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ SystemCredentialsProvider.ProviderImpl.DisplayName=Jenkins Credentials Provider
SystemCredentialsProvider.UserFacingAction.DisplayName=System
UserCredentialsProvider_DisplayName=Credentials
UserCredentialsProvider.UserFacingAction.DisplayName=User
GlobalCredentialsConfiguration.DisplayName=Configure Credential Providers
GlobalCredentialsConfiguration.DisplayName=Credential Providers
GlobalCredentialsConfiguration.Description=Configure the credential providers and types
CredentialsProviderFilter.None.DisplayName=All available
CredentialsProviderFilter.Includes.DisplayName=Only selected
Expand All @@ -82,5 +82,5 @@ CredentialsTypeFilter.Excludes.DisplayName=Exclude selected
CredentialsProviderTypeRestriction.Includes.DisplayName=Includes
CredentialsProviderTypeRestriction.Excludes.DisplayName=Excludes

ManageCredentialsConfiguration.displayName=Manage Credentials
ManageCredentialsConfiguration.displayName=Credentials
ManageCredentialsConfiguration.description=Configure credentials
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ CredentialsTypeFilter.Includes.DisplayName=Solo le voci selezionate
CredentialsTypeFilter.None.DisplayName=Tutte le voci disponibili
GlobalCredentialsConfiguration.Description=Configura i provider e i tipi di \
credenziali
GlobalCredentialsConfiguration.DisplayName=Configura provider credenziali
GlobalCredentialsConfiguration.DisplayName=Provider credenziali
ManageCredentialsConfiguration.description=Configura credenziali
ManageCredentialsConfiguration.displayName=Gestisci credenziali
ManageCredentialsConfiguration.displayName=Credenziali
SystemCredentialsProvider.ProviderImpl.DisplayName=Provider credenziali Jenkins
SystemCredentialsProvider.UserFacingAction.DisplayName=Sistema
UserCredentialsProvider_DisplayName=Credenziali
Expand Down
12 changes: 12 additions & 0 deletions src/main/resources/images/symbols/credential-providers.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/main/resources/images/symbols/credentials.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f71105

Please sign in to comment.