Skip to content

Commit

Permalink
Hide badge link, access directly from the skill list page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Dec 7, 2017
1 parent 9c5c8de commit 3ed30bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions main/admin/index.php
Expand Up @@ -448,10 +448,10 @@
'url' => 'skills_gradebook.php',
'label' => get_lang('SkillsAndGradebooks')
);
$items[] = array(
/*$items[] = array(
'url' => api_get_path(WEB_CODE_PATH).'admin/skill_badge.php',
'label' => get_lang('Badges')
);
);*/
$blocks['skills']['items'] = $items;
$blocks['skills']['extra'] = null;
$blocks['skills']['search_form'] = null;
Expand Down
3 changes: 0 additions & 3 deletions main/template/default/skill/badge_list.tpl
Expand Up @@ -32,9 +32,6 @@
</td>
<td>{{ skill.description }}</td>
<td>
<a href="{{ _p.web_main }}admin/skill_edit.php?id={{ skill.id }}" class="btn btn-default btn-sm" title="{{ "Edit" | get_lang }}">
<em class="fa fa-pencil fa-fw"></em>
</a>
<a href="{{ _p.web_main }}admin/skill_badge_create.php?id={{ skill.id }}" class="btn btn-primary btn-sm" title="{{ "CreateBadge" | get_lang }}">
<em class="fa fa-shield fa-fw"></em>
</a>
Expand Down

0 comments on commit 3ed30bf

Please sign in to comment.