block.tpl 904 B

12345678910111213141516171819202122
  1. {% if not _u.logged %}
  2. <div id="azure-active-directory-login">
  3. {% if not azure_active_directory.block_title is empty %}
  4. <h4>{{ azure_active_directory.block_title }}</h4>
  5. {% endif %}
  6. {% if not azure_active_directory.signin_url is empty %}
  7. <a href="{{ azure_active_directory.signin_url }}" class="btn btn-default">{{ 'SignIn'|get_lang }}</a>
  8. {% endif %}
  9. {% if not azure_active_directory.signout_url is empty %}
  10. <a href="{{ azure_active_directory.signout_url }}" class="btn btn-danger">{{ 'Logout'|get_lang }}</a>
  11. {% endif %}
  12. {% if azure_active_directory.management_login_enabled %}
  13. <hr>
  14. <a href="{{ _p.web_plugin ~ 'azure_active_directory/login.php' }}">
  15. {{ azure_active_directory.management_login_name }}
  16. </a>
  17. {% endif %}
  18. </div>
  19. {% endif %}