Skip to content

Instantly share code, notes, and snippets.

@atiw003
Forked from vybs/skills.html
Created January 6, 2012 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atiw003/1570084 to your computer and use it in GitHub Desktop.
Save atiw003/1570084 to your computer and use it in GitHub Desktop.
simple skills list dust template
{#profile_skill}
<div class="section" id="profile-skills" style="display:block">
<div class="header">
<h2>{@pre:i18n text="Skills"}</h2>
</div>
{?skills} {! we still want to display the Skills heading, even if the number of skills is zero !}
<div class="content">
<ol class="skills" id="skills-list">
{#skills}
<li class="competency show-bean">
<span class="miniprofile-container jellybean">{.name}</span>
</li>
{/skills}
</ol>
</div>
{/skills}
</div>
{/profile_skill}
"profile_skill": {
"skills": [{
"name": "JavaScript"
}, {
"name": "Ruby"
}, {
"name": "Java"
}],
"i18n_skills": "Skills" // when rendered with current locale en_US
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment