package de.ivu.elect.presentation;

import java.io.Serializable;

import javax.enterprise.context.RequestScoped;
import javax.inject.Named;

import org.apache.commons.lang3.StringUtils;

import de.ivu.elect.jee.faces.DevelopmentStore;

@RequestScoped
@Named(AppFooter.COMPONENT_NAME)
public class AppFooter implements Serializable {
  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "appFooter";

  public boolean isAdditionalUserInfoRendered() {
    return StringUtils.isNotBlank(getAdditionalUserInfo());
  }

  public String getAdditionalUserInfo() {
    return "";
  }

  public boolean isDevelopmentStage(){
    return DevelopmentStore.isDevelopmentStage();
  }

}
