Skip to content
Snippets Groups Projects
Select Git revision
  • 59a182ee664008930cecc68915e6e6670cdee6d8
  • master default protected
  • dev
  • ckan-2.9
  • refactor-css
  • improve-accessibility
  • fix-get_action-calls
  • summary-collection
  • debug-collections
  • debug-eakte
  • experimental-linked-resources-as-uploads
  • button-text-detail
  • Detailinfo
  • hash
  • URL_Upload
  • URL_Upload_working_BB
  • url_exp
  • ODPSH-550
  • href-for-preview
  • ODPSH-HASH-ALGO
  • Algo
  • v1.61
  • v1.6
  • v1.51
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • v0.1
  • sprint-18
  • sprint11_2
  • sprint10
  • sprint8
  • sprint7
  • sprint6
37 results

helpers.py

Blame
  • user-profile.button-container.component.ts 730 B
    import { Component, OnInit } from '@angular/core';
    import { AuthenticationService } from 'libs/authentication/src/lib/authentication.service';
    
    @Component({
      selector: 'user-profile-button-container',
      templateUrl: './user-profile-button-container.component.html',
      styleUrls: ['./user-profile-button-container.component.scss'],
    })
    export class UserProfileButtonContainerComponent implements OnInit {
      public currentUserInitials: string;
    
      constructor(public authenticationService: AuthenticationService) {}
    
      ngOnInit(): void {
        this.currentUserInitials = this.authenticationService.getCurrentUserInitials();
      }
    
      public showDropDown(): void {
        document.getElementById('myDropdown').classList.toggle('show');
      }
    }