Improve button to notify teacher on lp #2757

pull/2762/head
Angel Fernando Quiroz Campos 7 years ago
parent 11a6d4cb3e
commit e3181cfbcd
  1. 9
      main/template/default/learnpath/list.tpl

@ -491,15 +491,14 @@
{% endfor %}
</div>
{% if not is_invitee %}
{% if not is_invitee and lp_is_shown %}
<div class="controls text-center">
{% if not is_ending %}
<a href="{{ web_self ~ "?" ~ _p.web_cid_query ~ "&action=send_notify_teacher" }}" class="btn btn-primary disabled">
He finalizado las lecciones, notificar al profesor
</a>
<button class="btn btn-primary" type="button" disabled>
{{ 'IHaveFinishedTheLessonsNotifyTheTeacher'|get_lang }}
</button>
{% else %}
<a href="{{ web_self ~ "?" ~ _p.web_cid_query ~ "&action=send_notify_teacher" }}" class="btn btn-primary">
He finalizado las lecciones, notificar al profesor
{{ 'IHaveFinishedTheLessonsNotifyTheTeacher'|get_lang }}
</a>
{% endif %}

Loading…
Cancel
Save