Add links to skill wheel - refs BT#9084

1.10.x
Angel Fernando Quiroz Campos 11 years ago
parent 7358a649e5
commit b58218c08d
  1. 3
      plugin/advancedskills/report.php
  2. 9
      plugin/advancedskills/tpl/drh.tpl
  3. 6
      plugin/advancedskills/tpl/student.tpl
  4. 6
      plugin/advancedskills/tpl/student_boss.tpl

@ -29,6 +29,9 @@ $tableRows = array();
$tpl = new Template(get_lang('Skills')); $tpl = new Template(get_lang('Skills'));
$tplPath = null; $tplPath = null;
$tpl->assign('allowSkillsTool', api_get_setting('allow_skills_tool') == 'true');
$tpl->assign('allowDrhSkillsManagement', api_get_setting('allow_hr_skills_management') == 'true');
if ($isStudent) { if ($isStudent) {
$sql = "SELECT s.name, sru.acquired_skill_at, c.title, c.directory " $sql = "SELECT s.name, sru.acquired_skill_at, c.title, c.directory "
. "FROM $skillTable s " . "FROM $skillTable s "

@ -1,3 +1,12 @@
{% if allowSkillsTool %}
<div class="btn-group">
<a class="btn btn-default" href="{{ _p.web_main }}social/skills_wheel.php">{{ 'MySkills' | get_lang }}</a>
{% if allowDrhSkillsManagement %}
<a class="btn btn-default" href="{{ _p.web_main }}admin/skills_wheel.php">{{ 'ManageSkills' | get_lang }}</a>
{% endif %}
</div>
{% endif %}
<h1 class="page-header">{{ 'Skills' | get_lang }}</h1> <h1 class="page-header">{{ 'Skills' | get_lang }}</h1>
<div class="row"> <div class="row">

@ -1,3 +1,9 @@
{% if allowSkillsTool %}
<div class="btn-group">
<a class="btn btn-default" href="{{ _p.web_main }}social/skills_wheel.php">{{ 'MySkills' | get_lang }}</a>
</div>
{% endif %}
<h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1> <h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1>
{% if rows %} {% if rows %}

@ -1,3 +1,9 @@
{% if allowSkillsTool %}
<div class="btn-group">
<a class="btn btn-default" href="{{ _p.web_main }}social/skills_wheel.php">{{ 'MySkills' | get_lang }}</a>
</div>
{% endif %}
<h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1> <h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1>
<form class="form-inline" method="post" action="{{ _p.web_self }}"> <form class="form-inline" method="post" action="{{ _p.web_self }}">

Loading…
Cancel
Save