Skip to content

Commit

Permalink
Corregido bug que mostraba el boton de dashboard a los empleados
Browse files Browse the repository at this point in the history
  • Loading branch information
j4rv committed Apr 25, 2017
1 parent 3b006a8 commit babd13d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Metronus-Project/metronus/templates/layout_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ <h2>{{user.first_name}} {{user.last_name}}</h2>
<div class="menu_section">
<h3>{% trans 'dashControlPanel' %}</h3>
<ul class="nav side-menu">
{% if actor_is_admin %}
<li><a href="/dashboard/view"><em class="fa fa-home"></em>{% trans 'dashIndex' %}</span></a>
</li>

{% if actor_is_admin %}
<li><a href="/company/view"><em class="fa fa-briefcase"></em>{% trans 'dashCompany' %}</span></a>
</li>
{% endif %}
Expand Down

0 comments on commit babd13d

Please sign in to comment.