template.html.twig 772 B

1234567891011121314
  1. {% if add_cas_logout_button.show_message %}
  2. <link href="{{ asset('plugins/add_cas_logout_button/css.css') }}" rel="stylesheet" type="text/css">
  3. <div class="well">
  4. {% if add_cas_logout_button.logout_image_url %}
  5. <img src="{{add_cas_logout_button.logout_image_url}}" class='cas_plugin_image'/>
  6. {% endif %}
  7. <h4>{{add_cas_logout_button.logout_label}}</h4>
  8. {% if add_cas_logout_button.logout_image_url %}
  9. <div class='cas_plugin_clear'>&nbsp;</div>
  10. {% endif %}
  11. <div class='cas_plugin_comm'>{{add_cas_logout_button.logout_comment}}</div>
  12. <button class="btn btn-default" onclick="javascript:self.location.href='main/auth/cas/logout.php'">{{"Logout"|get_lang}}</button>
  13. </div>
  14. {% endif %}