123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- {% if search_skill_list is not null %}
- <div class="skills-skills">
- <h3>{{"Skills"|get_lang}}</h3>
- <ul class="holder">
- {% for search_skill_id in search_skill_list %}
- <li class="bit-box">
- {{ skill_list[search_skill_id].name}}
- <a class="closebutton" href="?a=remove_skill&id={{search_skill_id}}"></a>
- </li>
- {% endfor %}
- </ul>
- <a id="add_profile" class="btn" href="#"> {{"SaveThisSearch"|get_lang}}</a>
- </div>
- {% endif %}
- {% if profiles is not null %}
- <div class="skills-profiles">
- <h3>{{"SkillProfiles"|get_lang}}</h3>
- <ul class="holder">
- {%for profile in profiles %}
- <li class="bit-box">
- <a href="?a=load_profile&id={{profile.id}}">{{profile.name}}</a>
- </li>
- {% endfor %}
- </ul>
- </div>
- {% endif %}
- {% if order_user_list is not null %}
- {% for count, user_list in order_user_list %}
- <div class="row-fluid">
- <div class="span12">
- <div class="page-header">
- <h2>
- {% if count == total_search_skills %}
- {{ "CompleteMatch"|get_lang }}
- {% else %}
- {% if (total_search_skills - count) == 1 %}
- {{ "MissingOneStepToMatch"|get_lang }}</h2>
- {% else %}
- {{ "MissingXStepsToMatch"|get_lang | format(total_search_skills - count)}}
- {% endif %}
- {% endif %}
- </h2>
-
- </div>
- </div>
- </div>
- <div class="row-fluid">
- {% for user in user_list %}
- <div class="span4">
- <div class="well_border">
- <h3>
- <img src="{{user.user.avatar_small}}" />
- <a href="{{ _p.web_main }}social/profile.php?u={{ user['user'].user_id }}">{{ user['user'].complete_name }} ({{user['user'].username}}) </a>
- </h3>
- <hr >
- <div class="ui-widget-content ">
- <h4>{{ "Skills"|get_lang }} {{ user.total_found_skills }} / {{ total_search_skills }}</h4>
- <ul>
- {% for skill_data in user.skills %}
- <li>
- {% if skill_list[skill_data.skill_id].name is not null %}
- {% if skill_data.found %}
- <span class="label label-important">{{ skill_list[skill_data.skill_id].name }}</span>
- {% else %}
- <span class="label_tag skill">{{ skill_list[skill_data.skill_id].name }}</span>
- {% endif %}
-
- {% else %}
- {{ "SkillNotFound"|get_lang }}
- {% endif %}
- {# if $skill_data.found
- IHaveThisSkill"|get_lang
- #}
- </li>
- {% endfor %}
- </ul>
- </div>
- </div>
- </div>
- {% endfor %}
- {% endfor %}
- </div>
- {% else %}
- {% if search_skill_list is null %}
- <div class="warning-message">{{"NoResults"|get_lang}}</div>
- {% endif %}
- {% endif %}
- <div id="dialog-form" style="display:none;">
- <form id="save_profile_form" class="form-horizontal" name="form">
- <fieldset>
- <div class="control-group">
- <label class="control-label" for="name">{{"Name"|get_lang}}</label>
- <div class="controls">
- <input type="text" name="name" id="name" size="40" />
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="name">{{"Description"|get_lang}}</label>
- <div class="controls">
- <textarea name="description" id="description" class="span2" rows="7"></textarea>
- </div>
- </div>
- </fieldset>
- </form>
- </div>
|