@ -225,8 +225,8 @@ func (a *Action) ShortActUserName(ctx context.Context) string {
return base . EllipsisString ( a . GetActUserName ( ctx ) , 20 )
}
// Get DisplayName gets the action's display name based on DEFAULT_SHOW_FULL_NAME, or falls back to the username if it is blank.
func ( a * Action ) Get DisplayName( ctx context . Context ) string {
// Get Act DisplayName gets the action's display name based on DEFAULT_SHOW_FULL_NAME, or falls back to the username if it is blank.
func ( a * Action ) Get Act DisplayName( ctx context . Context ) string {
if setting . UI . DefaultShowFullName {
trimmedFullName := strings . TrimSpace ( a . GetActFullName ( ctx ) )
if len ( trimmedFullName ) > 0 {
@ -236,8 +236,8 @@ func (a *Action) GetDisplayName(ctx context.Context) string {
return a . ShortActUserName ( ctx )
}
// Get DisplayNameTitle gets the action's display name used for the title (tooltip) based on DEFAULT_SHOW_FULL_NAME
func ( a * Action ) Get DisplayNameTitle( ctx context . Context ) string {
// Get Act DisplayNameTitle gets the action's display name used for the title (tooltip) based on DEFAULT_SHOW_FULL_NAME
func ( a * Action ) Get Act DisplayNameTitle( ctx context . Context ) string {
if setting . UI . DefaultShowFullName {
return a . ShortActUserName ( ctx )
}