{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#} {% set hide_left_bar = True %} {% set current_menu_item = '/auth/user_info' %} {% extends "allura:templates/user_account_base.html" %} {% block title %}{{c.user.username}} / Skills{% endblock %} {% block header %}Skills manager for {{c.user.username}} {% endblock %} {% block content %} {{ super() }}
{% if c.user.get_skills()|length > 0 %}

Your current skills list:

{% for s in c.user.get_skills() %} {{g.theme.remove_user_skill.display(skill=s)}} {% endfor %}
Skill Level Comments Actions
{% else %}

At the moment, your skills list is empty!

You can set your skills so that other users will be able to know what you can do best. To do it, you just need to choose the options that best fit your skills in the section below. You can also specify your skill level and some additional free comments.
{% endif %}

Add a new skill

{% if selected_skill %}
You selected:
List of all skills {% for cat in parents %} > {{cat.fullname}} {% endfor %} > {{selected_skill.fullname}}
{% endif %} {% if skills_list %} {% if selected_skill %}

Select a subcategory of "{{selected_skill.fullname}}"

{% else %}

Select a category

{%endif%} {{g.theme.select_subcategory_form.display(categories=skills_list)}} {% endif %} {% if selected_skill and not selected_skill.parent_only %}

Add "{{selected_skill.fullname}}" to your set of skills

{{g.theme.add_user_skill.display(selected_skill=selected_skill.trove_cat_id, action="{}/save_skill".format(selected_skill.trove_cat_id)) }} {% endif %}

Other possible actions

{% endblock %}