From d258a97387284fe719f77cb69d5ec1732a7d206c Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 29 Oct 2014 18:03:50 -0500 Subject: [PATCH] Add link to see the skill ranking - refs #7347 --- main/social/skills_wheel.php | 2 +- main/template/default/skill/skill_wheel_student.tpl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main/social/skills_wheel.php b/main/social/skills_wheel.php index d8868a8df8..1c3e78b84e 100755 --- a/main/social/skills_wheel.php +++ b/main/social/skills_wheel.php @@ -51,7 +51,7 @@ $url = api_get_path(WEB_AJAX_PATH).'skill.ajax.php?1=1'; $tpl->assign('url', $url); $tpl->assign('userInfo', $userInfo); -$tpl->assign('ranking', 2); +$tpl->assign('ranking', $ranking); $tpl->assign('countSkill', $countSkill); $content = $tpl->fetch('default/skill/skill_wheel_student.tpl'); diff --git a/main/template/default/skill/skill_wheel_student.tpl b/main/template/default/skill/skill_wheel_student.tpl index 5b34003760..a94cef9791 100755 --- a/main/template/default/skill/skill_wheel_student.tpl +++ b/main/template/default/skill/skill_wheel_student.tpl @@ -289,7 +289,9 @@ $(document).ready(function() {

{{ userInfo.complete_name }}

-

{{ 'YourSkillRankingX' | get_lang | format(ranking) }}

+

+ {{ 'YourSkillRankingX' | get_lang | format(ranking) }} +

{% for i in 1..ranking %}