User new twig filters in plugins templates

pull/2487/head
Angel Fernando Quiroz Campos 8 years ago
parent d4632b2e9d
commit 5aa408c927
  1. 2
      plugin/advanced_subscription/views/admin_accepted_notice_admin.tpl
  2. 2
      plugin/advanced_subscription/views/admin_accepted_notice_student.tpl
  3. 2
      plugin/advanced_subscription/views/admin_accepted_notice_superior.tpl
  4. 2
      plugin/advanced_subscription/views/admin_rejected_notice_admin.tpl
  5. 2
      plugin/advanced_subscription/views/admin_rejected_notice_student.tpl
  6. 2
      plugin/advanced_subscription/views/admin_rejected_notice_superior.tpl
  7. 2
      plugin/advanced_subscription/views/reminder_notice_admin.tpl
  8. 2
      plugin/advanced_subscription/views/reminder_notice_student.tpl
  9. 2
      plugin/advanced_subscription/views/reminder_notice_superior.tpl
  10. 2
      plugin/advanced_subscription/views/reminder_notice_superior_max.tpl
  11. 2
      plugin/advanced_subscription/views/student_no_superior_notice_admin.tpl
  12. 2
      plugin/advanced_subscription/views/student_no_superior_notice_student.tpl
  13. 2
      plugin/advanced_subscription/views/student_notice_student.tpl
  14. 2
      plugin/advanced_subscription/views/student_notice_superior.tpl
  15. 2
      plugin/advanced_subscription/views/superior_accepted_notice_admin.tpl
  16. 2
      plugin/advanced_subscription/views/superior_accepted_notice_student.tpl
  17. 2
      plugin/advanced_subscription/views/superior_accepted_notice_superior.tpl
  18. 2
      plugin/advanced_subscription/views/superior_rejected_notice_student.tpl
  19. 2
      plugin/advanced_subscription/views/superior_rejected_notice_superior.tpl
  20. 2
      plugin/buycourses/view/catalog.tpl
  21. 2
      plugin/show_user_info/template.tpl

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>

@ -80,7 +80,7 @@
<h4 class="title">
<a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}">{{ session.name }}</a>
</h4>
{% if 'show_session_coach'|get_setting == 'true' %}
{% if 'show_session_coach'|api_get_setting == 'true' %}
<p><em class="fa fa-user fa-fw"></em> {{ session.coach }}</p>
{% endif %}
<p><em class="fa fa-calendar fa-fw"></em> {{ session.dates.display }}</p>

@ -17,7 +17,7 @@
3. Portal settings
You can access the portal settings using:
{{ "siteName"|get_setting }}
{{ "siteName"|api_get_setting }}
For more settings check the settings_current database table
4. Read more
You can also see more examples in main/template/default/layout

Loading…
Cancel
Save