Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/07/18 15:19:53 (6 years ago)
Author:
jzenisek
Message:

#2839: Several changes and fixes:

  • added button tooltips
  • changed position of buttons
  • added refresh functionality to view of lightweight users ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectPermissionsView.cs

    r15813 r15953  
    5353    private readonly Color addedIncludeColor = Color.FromArgb(25, 169, 221, 221); // #a9dddd
    5454    private readonly Color removedIncludeColor = Color.FromArgb(25, 249, 210, 145); // #f9d291
     55    private readonly Color projectOwnerColor = Color.DarkRed;
    5556
    5657    public new Project Content {
     
    116117      var selectedPermission = (UserGroupBase)e.Node.Tag;
    117118      detailsViewHost.Content = selectedPermission;
     119      if (selectedPermission is LightweightUser)
     120        detailsViewHost.ViewType = typeof(Access.Views.RefreshableLightweightUserInformationView);
    118121    }
    119122
     
    309312      }
    310313
     314      if(Content != null && ug != null && ug.Id != Guid.Empty
     315        && Content.OwnerUserId == ug.Id) {
     316        node.ForeColor = projectOwnerColor;
     317      }
     318
    311319    }
    312320
Note: See TracChangeset for help on using the changeset viewer.