Minor - remove unused code, add font awesome test icon

pull/2635/head
Julio Montoya 7 years ago
parent 6d689ec3e0
commit 4af7c70a9a
  1. 4
      src/CoreBundle/Resources/views/Index/page.html.twig
  2. 5
      src/CoreBundle/Resources/views/default/layout/page_header.html.twig

@ -1,6 +1,6 @@
{% if is_granted('ROLE_ADMIN') %}
<a href="{{ url('edit_page', { 'slug': slug }) }}" >
{{ "header.edit_page"|trans({}, 'SonataPageBundle') }}
<a href="{{ url('edit_page', { 'slug': slug }) }}" class="btn btn-primary" >
<i class="fas fa-edit"></i> {{ "header.edit_page"|trans({}, 'SonataPageBundle') }}
</a>
{% endif %}

@ -36,11 +36,6 @@
{{ plugin_header_right }}
</div>
{% endif %}
<script>
$(document).on('ready', function () {
$("#notifications").load("{{ _p.web_main }}inc/ajax/online.ajax.php?a=get_users_online");
});
</script>
<div class="section-notifications">
<ul id="notifications" class="nav nav-pills pull-right">
</ul>

Loading…
Cancel
Save