Skip to content

Commit

Permalink
MID-6393: Make role name collumn clickable
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
  • Loading branch information
tonydamage committed Jun 23, 2022
1 parent cac1d11 commit 7e1934b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ protected IColumn<PrismContainerValueWrapper<AssignmentType>, String> createIcon

@Override
protected IColumn<PrismContainerValueWrapper<AssignmentType>, String> createNameColumn(IModel<String> displayModel, GuiObjectColumnType customColumn, ItemPath itemPath, ExpressionType expression) {
return new AjaxLinkColumn<>(displayModel == null ? createStringResource("PolicyRulesPanel.nameColumn") : displayModel) {
displayModel = displayModel == null ? createStringResource("PolicyRulesPanel.nameColumn") : displayModel;

return new AjaxLinkColumn<>(displayModel, RepoAssignmentListProvider.TARGET_NAME_STRING, null) {
private static final long serialVersionUID = 1L;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class RepoAssignmentListProvider extends ContainerListDataProvider<Assign

private static final long serialVersionUID = 1L;

private static final String TARGET_NAME_STRING = "targetRef.targetName.orig";
public static final String TARGET_NAME_STRING = "targetRef.targetName.orig";
private static final ItemPath TARGET_NAME_PATH = ItemPath.create(AssignmentType.F_TARGET_REF, PrismConstants.T_OBJECT_REFERENCE, ObjectType.F_NAME);


Expand Down

0 comments on commit 7e1934b

Please sign in to comment.